Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / overflow / overflow-on-foreignObject.svg
blob3a19a363cefd63324fb966bbd52010c1ba7d50d7
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Verify default overflow rules on foreignObject
4 You should see a 300x300 green rectangle at 100x100 and no scrollbars.
6 NOTE: This is currently BROKEN in WebKit. We're clipping the viewport of <foreignObject> correctly,
7 though for each positioned object a Layer is created, that has no knownledge of the
8 size of the <foreignObject> viewport - as <foreignObject> doesn't create a Layer.
9 So for now, you'll see an unclipped content area, just as if overflow was visible.
10 -->
11 <svg xmlns="http://www.w3.org/2000/svg" xmlns:html="http://www.w3.org/1999/xhtml" width="500" height="500">
12 <foreignObject x="100" y="100" width="300" height="300">
13 <html:div style="border: solid; position: absolute; width:6000px; height:6000px;background-color: green;"/>
14 </foreignObject>
15 </svg>