| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd"> |
| <!-- |
| Verify that setting overflow on the outermost <svg> element does not affect rendering. |
| You should see scrollbars, as the content is larger then the viewport. |
| |
| Spec reference: |
| When an outermost SVG 'svg' element is stand-alone or embedded inline within a parent XML grammar which |
| does not use CSS layout [CSS2-LAYOUT] or XSL formatting [XSL], the 'overflow' property on the outermost |
| 'svg' element is ignored for the purposes of visual rendering and the initial clipping path is set to |
| the bounds of the initial viewport. |
| --> |
| <svg xmlns="http://www.w3.org/2000/svg" width="4000" height="4000" style="overflow: hidden"> |
| <rect width="4000" height="4000" fill="green"/> |
| </svg> |