Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Side by Side Diff: third_party/WebKit/LayoutTests/svg/overflow/overflow-on-foreignObject.svg

Issue 2671853003: [SPInvalidation] Use GeometryMapper in PaintLayerClipper for paint. (Closed)
Patch Set: none Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
6 NOTE: This is currently BROKEN in WebKit. We're clipping the viewport of <forei gnObject> correctly,
chrishtr 2017/02/09 23:32:20 This test now works correctly.
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 Layer.
9 So for now, you'll see an unclipped content area, just as if overflow was visible.
10 --> 5 -->
11 <svg xmlns="http://www.w3.org/2000/svg" xmlns:html="http://www.w3.org/1999/xhtml " width="500" height="500"> 6 <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"> 7 <foreignObject x="100" y="100" width="300" height="300">
13 <html:div style="border: solid; position: absolute; width:6000px; height :6000px;background-color: green;"/> 8 <html:div style="border: solid; position: absolute; width:6000px; height :6000px;background-color: green;"/>
14 </foreignObject> 9 </foreignObject>
15 </svg> 10 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698