Closed Bug 2095309 Opened 10 days ago Closed 8 days ago

[wpt-sync] Sync PR 65077 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=322358

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
163 Branch
Tracking Status
firefox163 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 65077 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/65077
Details from upstream follow.

Simon Fraser <simon.fraser@apple.com> wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=322358

WebKit export from bug: [<!---->corner-<!---->shape]<!----> `<!---->shape-<!---->outside`<!----> ignores corner-<!---->shape for \<<!---->shape-<!---->box><!----> values

<pre>
[corner-shape] shape-outside ignores corner-shape for <shape-box> values

Take corner-shape into account for shape-outside. computeGeometryForBoxShape() now computes
a polygon for the inner or outer shape via new functions in PathUtilities, which produce a polygon by fetching
the path and sampling it to create a vector of points. This polygon feeds into the existing shape-outside
code.

Based on work by Lilly Le (@cupidsity), with a fix for the positioning of the contour for
shape-outside: padding-box.

This changes the expected shape-outside extents for superellipse(-.8) in corner-shape-outside-left.html.

WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=322358">https://bugs.webkit.org/show_bug.cgi?id=322358</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/320552@main">https://commits.webkit.org/320552@main</a>
</pre>

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 8 subtests

Status Summary

Firefox

OK : 1
PASS: 1
FAIL: 7

Chrome

OK : 1
PASS: 8

Safari

OK : 1
PASS: 8

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

  • /css/css-borders/corner-shape/corner-shape-outside-left.html [wpt.fyi]
    • corner-shape: notch with shape-outside: FAIL
    • corner-shape: bevel with shape-outside: FAIL
    • corner-shape: notch bevel with shape-outside: FAIL
    • corner-shape: square with shape-outside: FAIL linked bug:Bug 1966482
    • corner-shape: scoop with shape-outside: FAIL
    • corner-shape: superellipse(1.5) with shape-outside: FAIL
    • corner-shape: superellipse(-.8) with shape-outside: FAIL

New Tests That Don't Pass

  • /css/css-borders/corner-shape/corner-shape-outside-left.html [wpt.fyi]
    • corner-shape: notch with shape-outside: FAIL (Chrome: PASS, Safari: PASS)
    • corner-shape: bevel with shape-outside: FAIL (Chrome: PASS, Safari: PASS)
    • corner-shape: notch bevel with shape-outside: FAIL (Chrome: PASS, Safari: PASS)
    • corner-shape: square with shape-outside: FAIL (Chrome: PASS, Safari: PASS)
    • corner-shape: scoop with shape-outside: FAIL (Chrome: PASS, Safari: PASS)
    • corner-shape: superellipse(1.5) with shape-outside: FAIL (Chrome: PASS, Safari: PASS)
    • corner-shape: superellipse(-.8) with shape-outside: FAIL (Chrome: PASS, Safari: PASS)
Status: NEW → RESOLVED
Closed: 8 days ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in before you can comment on or make changes to this bug.