Index: client/tests/client/html/ElementTests.dart |
diff --git a/client/tests/client/html/ElementTests.dart b/client/tests/client/html/ElementTests.dart |
index 0bf2869a113372af5611b0e85009ee0eb3b1d0e2..49e34d81391c0334001efb9fe09313c61ecfbbe8 100644 |
--- a/client/tests/client/html/ElementTests.dart |
+++ b/client/tests/client/html/ElementTests.dart |
@@ -84,6 +84,9 @@ void testElement() { |
(e) => e is IllegalArgumentException); |
}); |
+ test('.html has no parent', () => |
+ Expect.isNull(new Element.html('<br/>').parent)); |
+ |
test('a', () => testConstructorHelper('a', '<a>foo</a>', 'foo', |
(element) => element is AnchorElement)); |
test('area', () => testConstructorHelper('area', '<area>foo</area>', '', |