[Webkit-unassigned] [Bug 218489] New: 1px line following the contour of border radii

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 3 01:49:18 PST 2020


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

            Bug ID: 218489
           Summary: 1px line following the contour of border radii
           Product: WebKit
           Version: Safari 14
          Hardware: Macintosh
                OS: macOS 10.15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Compositing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: luke at channings.me

Created attachment 413023

  --> https://bugs.webkit.org/attachment.cgi?id=413023&action=review

Reduced example

A 1px line is drawn along the contours of a border radius, assuming the background colour of the element it is rendered within.

The steps needed to reproduce this behaviour are:

- An element with overflow: hidden and border-radius
- A child element (or pseudo, or box-shadow, etc) positioned along the edges of the border radius

In the example below I reproduce this rendering issue with as little CSS as possible, whilst making it easy to see the issue.
When a background colour other than white is used the bug is harder to see, but can still be seen.

I have been able to reproduce this in Safari, Chrome, and FireFox.

There's a possibility it is deliberate, but am unaware of a reason why, or a possible workaround.

-- 
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/20201103/2659a906/attachment-0001.htm>


More information about the webkit-unassigned mailing list