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

Unified Diff: tests/html/node_validator_test.dart

Issue 1078583002: "Reverting 44988" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 ea4ead5f1807b99ee961e39e78d49b35d8184924..045a2b8a3d4faceb224521e09a995b61b217fe38 100644
--- a/tests/html/node_validator_test.dart
+++ b/tests/html/node_validator_test.dart
@@ -340,9 +340,7 @@ main() {
});
group('allowSvg', () {
- var validator = new NodeValidatorBuilder()
- ..allowSvg()
- ..allowTextElements();
+ var validator = new NodeValidatorBuilder()..allowSvg();
testHtml('allows basic SVG',
validator,
@@ -377,10 +375,10 @@ main() {
'<div>Some content</div>'
'</body>'
'</foreignobject>'
- '<b>42</b>'
+ '<number>42</number>'
'</svg>',
'<svg xmlns="http://www.w3.org/2000/svg">'
- '<b>42</b>'
+ '<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