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

Unified Diff: tests/html/node_validator_test.dart

Issue 1063213002: Make SVGValidator reject foreignobject tags, not just their contents. Fixes Firefox inconsistency (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Removed status file entry Created 5 years, 8 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 | « tests/html/html.status ('k') | tools/dom/src/NodeValidatorBuilder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/node_validator_test.dart
diff --git a/tests/html/node_validator_test.dart b/tests/html/node_validator_test.dart
index 3189ec38310bb36234ef561595f0e763affe9968..f460c1bd3fb5c647840719f2e94f67367fb7782b 100644
--- a/tests/html/node_validator_test.dart
+++ b/tests/html/node_validator_test.dart
@@ -369,15 +369,16 @@ main() {
testHtml('blocks foreignObject content',
validator,
- '<svg xmlns="http://www.w3.org/2000/svg>'
+ '<svg xmlns="http://www.w3.org/2000/svg">'
'<foreignobject width="100" height="150">'
'<body xmlns="http://www.w3.org/1999/xhtml">'
'<div>Some content</div>'
'</body>'
'</foreignobject>'
+ '<number>42</number>'
'</svg>',
- '<svg xmlns="http://www.w3.org/2000/svg>'
- '<foreignobject width="100" height="150"></foreignobject>'
+ '<svg xmlns="http://www.w3.org/2000/svg">'
+ '<number>42</number>'
'</svg>');
});
« no previous file with comments | « tests/html/html.status ('k') | tools/dom/src/NodeValidatorBuilder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698