OLD | NEW |
1 <html xmlns="http://www.w3.org/1999/xhtml"> | 1 <html xmlns="http://www.w3.org/1999/xhtml"> |
2 <head> | 2 <head> |
3 <script>window.enablePixelTesting = true;</script> | 3 <script>window.enablePixelTesting = true;</script> |
4 <script src="../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../fast/js/resources/js-test-pre.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <svg id="svg" xmlns="http://www.w3.org/2000/svg" width="200" height="200"> | 7 <svg id="svg" xmlns="http://www.w3.org/2000/svg" width="200" height="200"> |
8 <text id="text1" x="50" y="50" requiredFeatures="1 2 3">ABC</text> | 8 <text id="text1" x="50" y="50" requiredFeatures="1 2 3">ABC</text> |
9 </svg> | 9 </svg> |
10 | 10 |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 shouldBeEqualToString("text1.requiredFeatures.getItem(3)", "[object SVGTextE
lement]"); | 229 shouldBeEqualToString("text1.requiredFeatures.getItem(3)", "[object SVGTextE
lement]"); |
230 shouldBeEqualToString("text1.requiredFeatures.getItem(4)", "null"); | 230 shouldBeEqualToString("text1.requiredFeatures.getItem(4)", "null"); |
231 shouldBeEqualToString("text1.getAttribute('requiredFeatures')", "4 30 aStrin
g [object SVGTextElement] null"); | 231 shouldBeEqualToString("text1.getAttribute('requiredFeatures')", "4 30 aStrin
g [object SVGTextElement] null"); |
232 | 232 |
233 debug(""); | 233 debug(""); |
234 debug("clear() requiredFeatures list so text on top shows up"); | 234 debug("clear() requiredFeatures list so text on top shows up"); |
235 shouldBeUndefined("text1.requiredFeatures.clear()"); | 235 shouldBeUndefined("text1.requiredFeatures.clear()"); |
236 | 236 |
237 ]]> | 237 ]]> |
238 </script> | 238 </script> |
239 <script src="../../fast/js/resources/js-test-post.js"></script> | |
240 </body> | 239 </body> |
241 </html> | 240 </html> |
OLD | NEW |