16 lines
789 B
XML
16 lines
789 B
XML
|
<?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 default overflow rules for the outermost <svg> element.
|
||
|
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">
|
||
|
<rect width="4000" height="4000" fill="green"/>
|
||
|
</svg>
|