OLD | NEW |
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 Loading... |
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> |
OLD | NEW |