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

Side by Side 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: Content model tests for linear/radialGradient. 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../resources/js-test.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 <script src="resources/svgtags.js"></script> 5 <script src="resources/svgtags.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <div id="console"></div> 8 <div id="console"></div>
9 <div id="container" style="position: fixed;"></div> 9 <div id="container" style="position: fixed;"></div>
10 10
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 94
95 if (!window.testRunner || !window.internals) 95 if (!window.testRunner || !window.internals)
96 testFailed('this test requires DumpRenderTree.'); 96 testFailed('this test requires DumpRenderTree.');
97 97
98 description('This test validates renderer instantiation against the SVG co ntent model.'); 98 description('This test validates renderer instantiation against the SVG co ntent model.');
99 99
100 validateTag('filter', [ 100 validateTag('filter', [
101 // http://dev.w3.org/fxtf/filters/#FilterElement 101 // http://dev.w3.org/fxtf/filters/#FilterElement
102 'CLASS_DESCRIPTIVE', 'CLASS_FILTER_PRIMITIVE', 'animate', 'set' 102 'CLASS_DESCRIPTIVE', 'CLASS_FILTER_PRIMITIVE', 'animate', 'set'
103 ]); 103 ]);
104 validateTag('linearGradient', [
105 // https://svgwg.org/svg2-draft/pservers.html#LinearGradientElement
106 'CLASS_DESCRIPTIVE', 'CLASS_PAINT_SERVER', 'animate', 'animateTransform' , 'script', 'set',
107 'stop'
108 ]);
109 validateTag('g', [
110 // https://svgwg.org/svg2-draft/struct.html#GElement
111 'CLASS_ANIMATION', 'CLASS_DESCRIPTIVE', 'CLASS_PAINT_SERVER', 'CLASS_SHA PE',
112 'CLASS_STRUCTURAL', 'a', 'clipPath', 'cursor', 'filter', 'foreignObject' , 'image', 'marker',
113 'mask', 'script', 'style', 'switch', 'text', 'view'
114 ]);
115 validateTag('radialGradient', [
116 // https://svgwg.org/svg2-draft/pservers.html#RadialGradientElement
117 'CLASS_DESCRIPTIVE', 'CLASS_PAINT_SERVER', 'animate', 'animateTransform' , 'script', 'set',
118 'stop'
119 ]);
120 validateTag('svg', [
121 // https://svgwg.org/svg2-draft/struct.html#SVGElement
122 'CLASS_ANIMATION', 'CLASS_DESCRIPTIVE', 'CLASS_PAINT_SERVER', 'CLASS_SHA PE',
123 'CLASS_STRUCTURAL', 'a', 'clipPath', 'cursor', 'filter', 'foreignObject' , 'image', 'marker',
124 'mask', 'script', 'style', 'switch', 'text', 'view'
125 ]);
104 </script> 126 </script>
105 </body> 127 </body>
106 </html> 128 </html>
OLDNEW
« 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