[Webkit-unassigned] [Bug 34621] -border-radius on narrow div is ugly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 11 23:25:59 PDT 2011


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


David Barr <davidbarr at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |davidbarr at chromium.org




--- Comment #2 from David Barr <davidbarr at chromium.org>  2011-05-11 23:25:58 PST ---
(In reply to comment #1)
> Still repros. I think we're clamping the radius based on the content box, not the border box?

I've traced through the render code for this example and found that clamping is based on the border box.
However, the issue is that the border radii must not overlap[1] and RoundedIntRec by nature does not allow fractional radii. So to satisfy both of these constraints the radii are rounded down after scaling.

[1] http://www.w3.org/TR/css3-background/#corner-overlap

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list