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

Unified Diff: LayoutTests/svg/dom/content-model.html

Issue 1009923002: Don't allow <stop> as layout tree child of <svg> or <g> (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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
Index: LayoutTests/svg/dom/content-model.html
diff --git a/LayoutTests/svg/dom/content-model.html b/LayoutTests/svg/dom/content-model.html
index f463dd81c24828c6f5244887010d50588bf7c529..cda24c12e1f2206861ce8f4d4d5f4112be465207 100644
--- a/LayoutTests/svg/dom/content-model.html
+++ b/LayoutTests/svg/dom/content-model.html
@@ -101,6 +101,18 @@
// http://dev.w3.org/fxtf/filters/#FilterElement
'CLASS_DESCRIPTIVE', 'CLASS_FILTER_PRIMITIVE', 'animate', 'set'
]);
+ validateTag('g', [
Erik Dahlström (inactive) 2015/03/16 13:58:46 might be good to add tests for 'radialGradient' an
fs 2015/03/16 14:20:37 Done.
+ // https://svgwg.org/svg2-draft/struct.html#GElement
+ 'CLASS_ANIMATION', 'CLASS_DESCRIPTIVE', 'CLASS_PAINT_SERVER', 'CLASS_SHAPE',
+ 'CLASS_STRUCTURAL', 'a', 'clipPath', 'cursor', 'filter', 'foreignObject', 'image', 'marker',
+ 'mask', 'script', 'style', 'switch', 'text', 'view'
+ ]);
+ validateTag('svg', [
+ // https://svgwg.org/svg2-draft/struct.html#SVGElement
+ 'CLASS_ANIMATION', 'CLASS_DESCRIPTIVE', 'CLASS_PAINT_SERVER', 'CLASS_SHAPE',
+ 'CLASS_STRUCTURAL', 'a', 'clipPath', 'cursor', 'filter', 'foreignObject', 'image', 'marker',
+ 'mask', 'script', 'style', 'switch', 'text', 'view'
+ ]);
</script>
</body>
</html>
« no previous file with comments | « LayoutTests/svg/custom/gradient-stop-outside-gradient-expected.txt ('k') | LayoutTests/svg/dom/content-model-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698