[Webkit-unassigned] [Bug 235900] Accumulated pixel rounding errors cause gradient color stops to be misaligned

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 31 11:27:06 PST 2022


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

Myles C. Maxfield <mmaxfield at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mmaxfield at apple.com

--- Comment #1 from Myles C. Maxfield <mmaxfield at apple.com> ---
div {
  min-height: 8em;
  background: linear-gradient(90deg, #f00 1px, #0000 0) 0/8em, linear-gradient(90deg, #00f 1px, #0000 0) 0/1.6em 50% repeat-x;
}
div + div {
  --w: min(40em, 100vw - 2em);
  background-size: calc(var(--w)/5), calc(var(--w)/25) 50%;
}

-- 
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/20220131/c3174866/attachment-0001.htm>


More information about the webkit-unassigned mailing list