[wpt-sync] Sync PR 63272 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=325429
Categories
(Core :: Layout, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63272 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63272
Details from upstream follow.
Ahmad Saleem <ahmad.saleem792+github@gmail.com> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=325429
WebKit export from bug: [Style] The overscroll-behavior shorthand serializes max(x, y) instead of both axis values in getComputedStyle
<pre>
[Style] The overscroll-behavior shorthand serializes max(x, y) instead of both axis values in getComputedStyleThis patch aligns WebKit with Gecko / Firefox and Blink / Chromium.
The PropertyExtractorAdaptor for the overscroll-behavior shorthand
serialized the value as std::max(overscrollBehaviorX(),
overscrollBehaviorY()). Because OverscrollBehavior is ordered
Auto < Contain < None, this collapsed both axes into a single
"strongest" keyword, dropping the second value entirely: e.g.
overscroll-behavior: contain autoreported back ascontain.This was carried over verbatim from the old
CSSComputedStyleDeclaration. Per the spec [1], overscroll-behavior is a
shorthand that sets overscroll-behavior-x and overscroll-behavior-y in
that order, defaulting the second value to the first when only one is
given:It must therefore serialize both values as "x y" in canonical order,
coalescing to a single value only when the two axes are equal, matching
the parsed-declaration path in ShorthandSerializer::serializePair.Serialize both axes, coalescing when they match, matching the pattern
used by the neighboring shorthand adaptors.WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=325429">https://bugs.webkit.org/show_bug.cgi?id=325429</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/322685@main">https://commits.webkit.org/322685@main</a>
</pre>
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=100507
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 3 tests and 28 subtests
Status Summary
Firefox
OK : 1[GitHub] 3[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: 28[GitHub] 71[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]
Chrome
OK : 1
PASS: 28
Safari
OK : 1
PASS: 18
FAIL: 10
Description
•