Chromium Code Reviews| 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('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.
| |
| 105 // https://svgwg.org/svg2-draft/struct.html#GElement | |
| 106 'CLASS_ANIMATION', 'CLASS_DESCRIPTIVE', 'CLASS_PAINT_SERVER', 'CLASS_SHA PE', | |
| 107 'CLASS_STRUCTURAL', 'a', 'clipPath', 'cursor', 'filter', 'foreignObject' , 'image', 'marker', | |
| 108 'mask', 'script', 'style', 'switch', 'text', 'view' | |
| 109 ]); | |
| 110 validateTag('svg', [ | |
| 111 // https://svgwg.org/svg2-draft/struct.html#SVGElement | |
| 112 'CLASS_ANIMATION', 'CLASS_DESCRIPTIVE', 'CLASS_PAINT_SERVER', 'CLASS_SHA PE', | |
| 113 'CLASS_STRUCTURAL', 'a', 'clipPath', 'cursor', 'filter', 'foreignObject' , 'image', 'marker', | |
| 114 'mask', 'script', 'style', 'switch', 'text', 'view' | |
| 115 ]); | |
| 104 </script> | 116 </script> |
| 105 </body> | 117 </body> |
| 106 </html> | 118 </html> |
| OLD | NEW |