Closed Bug 2092478 Opened 17 days ago Closed 12 days ago

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

Categories

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

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Helmut Januschka <helmut@januschka.com> wrote:

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

WebKit export from bug: Import updated corner shorthand WPTs for css-<!---->borders-<!---->4

<pre>
Import updated corner shorthand WPTs for css-borders-4

<a href="https://drafts.csswg.org/css-borders-4/#corner-shorthands">https://drafts.csswg.org/css-borders-4/#corner-shorthands</a>

The corner and corner-* shorthand tests imported from the W3C still assert
the old, slash separated prototype grammar. The CSSWG now specifies
<'border-radius'> || <'corner-shape'> and the matching side and
single-corner forms, resolved in
<a href="https://github.com/w3c/csswg-drafts/issues/11623">https://github.com/w3c/csswg-drafts/issues/11623</a> and reconfirmed in
<a href="https://github.com/w3c/csswg-drafts/issues/13889.">https://github.com/w3c/csswg-drafts/issues/13889.</a>

Import the rewrite from
<a href="https://chromium-review.googlesource.com/c/chromium/src/+/8498274">https://chromium-review.googlesource.com/c/chromium/src/+/8498274</a>, which
updates twelve tests and adds corner-top-invalid.html, so that WebKit's
test coverage reflects the current grammar. The rewrite is not yet in the
upstream web-platform-tests repository, and WebKit does not export tests,
so this applies the Chromium CL's rewrite directly to the imported copies.

Record the current engine behaviour with the imported baselines. All eleven
rewritten tests fail against the old grammar in WebKit; the baselines
capture that output. corner-top-invalid.html gets a new baseline. The
reference test corner-shorthand-rendering.html uses declarations that the
old grammar cannot parse, so it is marked ImageOnlyFailure under this bug
until the grammar correction in 326108 lands and this expectation is
removed. corner-top-invalid.html's current baseline is for the old grammar
and will become all-PASS when that correction lands.

No product code changes; this is tests only.

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

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

CI Results

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

Total 193 tests

Status Summary

Firefox

OK : 1[GitHub] 25[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, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 1[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 10[GitHub] 889[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 990[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, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 139[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 205[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, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

OK : 1
PASS: 7
FAIL: 3

Safari

OK : 1
PASS: 10

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 12 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.