| <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1"> |
| <foreignObject x="20" y="20" width="200" height="100"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <body> |
| <div style="height:10px;"></div> |
| </body> |
| </html> |
| </foreignObject> |
| |
| <script> |
| if (window.testRunner) { |
| testRunner.dumpAsText(); |
| var output = "This test verifies that SVG documents have the default scroll-blocks-on mode applied to them, and that foreignObject html documents inside them don't create a new composited layer unnecessarily.\n\n"; |
| output += internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_SCROLL_BLOCKS_ON); |
| testRunner.setCustomTextOutput(output); |
| } |
| </script> |
| </svg> |