| Index: tests/html/shadow_dom_layout_test.dart
|
| diff --git a/tests/html/shadow_dom_layout_test.dart b/tests/html/shadow_dom_layout_test.dart
|
| index 5a1d6b8c14213d8d4ae23ad52d3c604ed579019d..82705bc9420cfae02aafc0c3ee96f5d246867199 100644
|
| --- a/tests/html/shadow_dom_layout_test.dart
|
| +++ b/tests/html/shadow_dom_layout_test.dart
|
| @@ -21,12 +21,12 @@ main() {
|
|
|
| // assemble DOM
|
| var sRoot = div.createShadowRoot();
|
| - sRoot.nodes.add(new Element.html('<content select=".foo"></content>'));
|
| - sRoot.nodes.add(redbox);
|
| - sRoot.nodes.add(new Element.tag('content'));
|
| + sRoot.append(new Element.html('<content select=".foo"></content>'));
|
| + sRoot.append(redbox);
|
| + sRoot.append(new Element.tag('content'));
|
|
|
| - div.nodes.add(bluebox);
|
| - div.nodes.add(greenbox);
|
| + div.append(bluebox);
|
| + div.append(greenbox);
|
| }
|
|
|
| DivElement _colorBox(String color, int width, int height) {
|
|
|