[wpt-sync] Sync PR 62761 - Allow downcasting CSSLightDarkValuePair and CSSParamValuePair to CSSValuePair
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 62761 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62761
Details from upstream follow.
moonira <moonira@google.com> wrote:
Allow downcasting CSSLightDarkValuePair and CSSParamValuePair to CSSValuePair
CSSLightDarkValuePair and CSSParamValuePair derive from CSSValuePair,
but DowncastTraits\<CSSValuePair> checks CSSValue::IsValuePair(), which
previously only checked for kValuePairClass. As a result, downcasting
via To\<CSSValuePair> failed a CHECK in casting.h when called on
derived instances (such as in CSSValue::HasRandomFunctions() when
evaluating light-dark() animations for compositing).Fixed: 561828148
Change-Id: I2a6777553314dcd605b4767de97db6cb7bc16886
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8410130
Auto-Submit: Munira Tursunova \<moonira@google.com>
Commit-Queue: Rune Lillesveen \<futhark@chromium.org>
Reviewed-by: Rune Lillesveen \<futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1699576}
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=93508
| Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests
Status Summary
Firefox
PASS : 1[GitHub] 2[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-linux2204-64-wayland-opt, 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]
TIMEOUT: 2
Chrome
CRASH : 1
Safari
PASS : 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-color/crashtests/light-dark-animation-crash.html [wpt.fyi]:
PASS[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-linux2204-64-wayland-opt,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,GitHub],TIMEOUT[Gecko-linux2204-64-wayland-debug] (Chrome:CRASH, Safari:PASS) - /css/css-color/crashtests/stop-color-invalid-rgb.html [wpt.fyi]:
PASS[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-linux2204-64-wayland-opt,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],TIMEOUT[Gecko-linux2204-64-wayland-debug]
Comment 4•2 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/de4a050cc3ff
https://hg.mozilla.org/mozilla-central/rev/1eb86264373a
Description
•