blob: f27b5fc6d630bdef9bfd267d55fc8966b1fcf240 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Verify default overflow rules on foreignObject
You should see a 300x300 green rectangle at 100x100 and no scrollbars.
NOTE: This is currently BROKEN in WebKit. We're clipping the viewport of <foreignObject> correctly,
though for each positioned object a RenderLayer is created, that has no knownledge of the
size of the <foreignObject> viewport - as <foreignObject> doesn't create a RenderLayer.
So for now, you'll see an unclipped content area, just as if overflow was visible.
-->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:html="http://www.w3.org/1999/xhtml" width="500" height="500">
<foreignObject x="100" y="100" width="300" height="300">
<html:div style="border: solid; position: absolute; width:6000px; height:6000px;background-color: green;"/>
</foreignObject>
</svg>