[wpt-sync] Sync PR 64597 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=322658
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
95.01 KB,
text/plain
|
Details |
Sync web-platform-tests PR 64597 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64597
Details from upstream follow.
Simon Fraser <simon.fraser@apple.com> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=322658
WebKit export from bug: [<!---->corner-<!---->shape]<!----> Incorrect rendering when inner corners intersect
<pre>
[corner-shape] Incorrect rendering when inner corners intersectWith larger border thickness and border-radius, adjacent corners of the inner border edge can intesect,
causing bad rendering with overlapping and holes.Fix by implementing logic to intersect bezier paths, but we only need to support the simple, monotonic curves
that are used by corner-shape.addSuperellipseCornerCurvescalls functions in CornerShapeUtilities to do this.
The intersection logic uses a recursive function (appendCurveCrossings()) with a depth limit.Even non-adjacent corners can intersect (see inner-corner-intersection003.html), which
addSuperellipseCornerCurves()
handles.Add API tests for the Bezier functions. BezierUtilitiesTests.cpp wasn't being compiled at all, so add it
to the target.Based on work by Lilly Le (@cupidsity).
WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=322658">https://bugs.webkit.org/show_bug.cgi?id=322658</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/320287@main">https://commits.webkit.org/320287@main</a>
</pre>
| Assignee | ||
Updated•19 days ago
|
| Assignee | ||
Comment 1•19 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=119422
| Assignee | ||
Comment 2•18 days ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 179 tests and 23 subtests
Status Summary
Firefox
OK : 19
PASS: 1[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 878[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 891[Gecko-linux2404-64-debug] 976[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 977[Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 3[GitHub] 107[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 167[Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 168[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 253[Gecko-linux2404-64-debug]
Chrome
FAIL: 3
Safari
PASS: 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
(See attachment for full changes)
Comment 4•14 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/4ee9fdd9b2ca
https://hg.mozilla.org/mozilla-central/rev/be024f8adffb
Description
•