| <?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 inner <svg> elements. |
| You should see no scrollbars on the inner <svg> element, and no scrollbars for the whole document as long as |
| the window size is larger or equal than 500x500 (800x600 is default for DRT -> no scrollbars should appear) |
| |
| Spec reference: |
| When an outermost 'svg' element is embedded inline within a parent XML grammar which uses CSS layout [CSS2-LAYOUT] |
| or XSL formatting [XSL], if the 'overflow' property has the value hidden or scroll, then the user agent will |
| establish an initial clipping path equal to the bounds of the initial viewport; otherwise, the initial clipping |
| path is set according to the clipping rules as defined in [CSS2-overflow]. |
| --> |
| <svg xmlns="http://www.w3.org/2000/svg" width="500" height="500"> |
| <svg x="10" y="10" width="480" height="480"> |
| <rect width="4000" height="4000" fill="green"/> |
| </svg> |
| </svg> |