[Webkit-unassigned] [Bug 151791] Clipping along compositing borders in svg-edit

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 4 21:52:10 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=151791

--- Comment #5 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
I think the problem is that InlineBoxes know nothing about the overflowing SVG.

Here's the render tree in the small testcase:
(R)elative/A(B)solute/Fi(X)ed/Stick(Y) positioned, (O)verflow clipping, (A)nonymous, (G)enerated, (F)loating, has(L)ayer, (C)omposited, (D)irty layout, Dirty (S)tyle
---G-LC --  RenderView  (0.00, 0.00) (897.00, 465.00) renderer->(0x115ac92a0)
-----L- --    HTML RenderBlock  (0.00, 0.00) (897.00, 506.00) renderer->(0x115bdd730) node->(0x115b3f5b0)
------- --*     BODY RenderBody  (0.00, 0.00) (897.00, 506.00) renderer->(0x115bdd7e8) node->(0x115b3f6e8)
------- --        RootInlineBox  (0.00, 488.00) (502.00, 18.00) (0x115b3a2a0) renderer->(0x115bdd7e8)
------- --          InlineBox  (0.00, 0.00) (502.00, 502.00) (0x115b50e10) renderer->(0x115aef5e0)
------- --        svg RenderSVGRoot  (0.00, 0.00) (502.00, 502.00) renderer->(0x115aef5e0) node->(0x115af08e8)
------- --          svg RenderSVGViewportContainer renderer->(0x115b91288) node->(0x115af0ab0)
------- --            rect RenderSVGRect renderer->(0x115a86108) node->(0x115ae1680)
------- --        #text RenderText renderer->(0x115be7ea0) node->(0x115b8a730) length->(1) "\n"

After the rect in the SVG moves, the SVG bounds are actually 608x608, but line boxes only know about 502x502. So InlineFlowBox::paint() short-circuits, and we never paint the overflowing SVG.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151205/5491da57/attachment.html>


More information about the webkit-unassigned mailing list