OLD | NEW |
1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <!-- | 2 <!-- |
3 Verify default overflow rules on foreignObject | 3 Verify default overflow rules on foreignObject |
4 You should see a 300x300 green rectangle at 100x100 and no scrollbars. | 4 You should see a 300x300 green rectangle at 100x100 and no scrollbars. |
5 | 5 |
6 NOTE: This is currently BROKEN in WebKit. We're clipping the viewport of <forei
gnObject> correctly, | 6 NOTE: This is currently BROKEN in WebKit. We're clipping the viewport of <forei
gnObject> correctly, |
7 though for each positioned object a RenderLayer is created, that has no k
nownledge of the | 7 though for each positioned object a Layer is created, that has no knownle
dge of the |
8 size of the <foreignObject> viewport - as <foreignObject> doesn't create
a RenderLayer. | 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. | 9 So for now, you'll see an unclipped content area, just as if overflow was
visible. |
10 --> | 10 --> |
11 <svg xmlns="http://www.w3.org/2000/svg" xmlns:html="http://www.w3.org/1999/xhtml
" width="500" height="500"> | 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"> | 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;"/> | 13 <html:div style="border: solid; position: absolute; width:6000px; height
:6000px;background-color: green;"/> |
14 </foreignObject> | 14 </foreignObject> |
15 </svg> | 15 </svg> |
OLD | NEW |