OLD | NEW |
| (Empty) |
1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k" version="1.1"> | |
2 <foreignObject x="20" y="20" width="200" height="100"> | |
3 <html xmlns="http://www.w3.org/1999/xhtml"> | |
4 <body> | |
5 <div style="height:10px;"></div> | |
6 </body> | |
7 </html> | |
8 </foreignObject> | |
9 | |
10 <script> | |
11 if (window.testRunner) { | |
12 testRunner.dumpAsText(); | |
13 var output = "This test verifies that SVG documents have the default scr
oll-blocks-on mode applied to them, and that foreignObject html documents inside
them don't create a new composited layer unnecessarily.\n\n"; | |
14 output += internals.layerTreeAsText(document, internals.LAYER_TREE_INCLU
DES_SCROLL_BLOCKS_ON); | |
15 testRunner.setCustomTextOutput(output); | |
16 } | |
17 </script> | |
18 </svg> | |
OLD | NEW |