test(ivy): add canonical compiler spec for class/style (#22719)

Adds a stub for `elementStyle` and `elementClass` instruction
with a canonical spec for the compiler. The spec shows the the
compiler should be using `elementStyle` and `elementClass` instruction
in place of `[class]` and `[style]` bindings respectively.
PR Close #22719
This commit is contained in:
Miško Hevery
2018-03-08 13:57:56 -08:00
committed by Kara Erickson
parent a0a01f1e1e
commit 112431db69
9 changed files with 140 additions and 13 deletions

View File

@ -121,6 +121,7 @@ export interface RNode {
export interface RElement extends RNode {
style: RCssStyleDeclaration;
classList: RDomTokenList;
className: string;
setAttribute(name: string, value: string): void;
removeAttribute(name: string): void;
setAttributeNS(namespaceURI: string, qualifiedName: string, value: string): void;