[Webkit-unassigned] [Bug 63899] The content of replaced element 'img' is trimmed to the content edge curve of a rounded corner.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 18 06:58:49 PDT 2011


--- Comment #15 from Chiculita Alexandru <achicu at adobe.com>  2011-07-18 06:58:48 PST ---
(In reply to comment #14)

I agree anti-aliasing issues may appear. I will add a new patch that will render the border on top of the content. The only spec I found about clipping the border radius is this paragraph: http://www.w3.org/TR/css3-background/#corner-clipping . It says that the content of the render replaced is always clipped by the border. I'm not sure what should happen if border color has 0.5 alpha. Should the content be totally clipped or not?

> I see the original test include padding. I think a second test with padding is necessary here since that is an interesting variation on the rendering of this case.

I will add the test, but I think the original test case is wrong. It seems like the original test case expected to apply the border-radius to the content of the element, even though the padding was big enough, so that the border didn't have to clip the content. Following that paragraph in the spec, it's not clear which one is the right behavior.

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