1 <?xml version=
"1.0" encoding=
"UTF-8"?>
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.
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;"/>