Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(912)

Unified Diff: tests/html/element_add_test.dart

Issue 1230553003: Revert "appendHtml, when sanitizing, should create document fragment in the right context" (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/templates/html/impl/impl_Element.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/element_add_test.dart
diff --git a/tests/html/element_add_test.dart b/tests/html/element_add_test.dart
index 45aa1c218c0a8ec32fd7d88b3bfddd0f22603944..8346129a208dffb189d23df7811fa685d80fe73c 100644
--- a/tests/html/element_add_test.dart
+++ b/tests/html/element_add_test.dart
@@ -62,19 +62,6 @@ main() {
expect(fragment.children.length, equals(1));
expect(fragment.children[0], isSpanElement);
});
-
- test('html interpreted in correct context', () {
- var el = new TableElement();
- el.appendHtml('<tr><td>foo</td></tr>');
- expect(el.children.length, 1);
- var section = el.children.first;
- expect(section is TableSectionElement, isTrue);
- var row = section.children.first;
- expect(row is TableRowElement, isTrue);
- var item = row.children.first;
- expect(item is TableCellElement, isTrue);
- expect(item.innerHtml, 'foo');
- });
});
group('appendText', () {
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/templates/html/impl/impl_Element.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698