[Webkit-unassigned] [Bug 176498] REGRESSION (r215613): Incorrect corners clipping with border-radius

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 19 10:10:46 PDT 2017


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

--- Comment #5 from Wenson Hsieh <wenson_hsieh at apple.com> ---
Some logging in RenderBoxModelObject::paintBorder, before the early return if `innerBorder.contains(info.rect)`:

2017-09-19 10:06:18.267116-0700 0xa4a5     Default     0x0                  619    com.apple.WebKit.WebContent: (JavaScriptCore) <WK>: The paint rect is: {{9.0, 784.0}, {160.0, 32.0}}
2017-09-19 10:06:18.267340-0700 0xa4a5     Default     0x0                  619    com.apple.WebKit.WebContent: (JavaScriptCore) <WK>: The inner border rect is: {{9.0, 784.0}, {160.0, 32.0}}
2017-09-19 10:06:18.267486-0700 0xa4a5     Default     0x0                  619    com.apple.WebKit.WebContent: (JavaScriptCore) <WK>: The top left radius is: (6.0, 6.0)
2017-09-19 10:06:18.267621-0700 0xa4a5     Default     0x0                  619    com.apple.WebKit.WebContent: (JavaScriptCore) <WK>: The top right radius is: (6.0, 6.0)
2017-09-19 10:06:18.267756-0700 0xa4a5     Default     0x0                  619    com.apple.WebKit.WebContent: (JavaScriptCore) <WK>: The bottom left radius is: (6.0, 6.0)
2017-09-19 10:06:18.267888-0700 0xa4a5     Default     0x0                  619    com.apple.WebKit.WebContent: (JavaScriptCore) <WK>: The bottom right radius is: (6.0, 6.0)
2017-09-19 10:06:18.268018-0700 0xa4a5     Default     0x0                  619    com.apple.WebKit.WebContent: (JavaScriptCore) <WK>: Does the inner border contain the paint rect? YES

...this doesn't look right to me. If the paint rect is the same as the border rect, but the border has non-zero radii, I don't see how the border rounded rect can fully contain the paint rect. Could there be a bug in the math checking whether a rounded rect contains a non-rounded rect?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170919/4565c7fb/attachment.html>


More information about the webkit-unassigned mailing list