[wpt-sync] Sync PR 33273 - Implement CSSColorValue.parse
Categories
(Core :: DOM: CSS Object Model, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox102 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 33273 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/33273
Details from upstream follow.
Seokho Song <seokho@chromium.org> wrote:
Implement CSSColorValue.parse
Implement parse function defined in [1] using 'ConsumeColor()'
from css_parsing_utils.Determine the color types by function type peeking the token range.
Then create a CSSColor object by the color type.Currently, Chromium only supports to parse rgb(), rgba(), hsl(),
\<hex-color> and \<named-color>.
Therefore, This CL implements supported color functions.[1] https://drafts.css-houdini.org/css-typed-om-1/#dom-csscolorvalue-parse
Bug: 1303851
Change-Id: I4204ed1f3d856509a1c12227d887938fc1f56e87Reviewed-on: https://chromium-review.googlesource.com/3522201
WPT-Export-Revision: 1bfc41445cb32c17ca82ce019b5bf4a0dd062c6b
Assignee | ||
Comment 1•2 years ago
|
||
PR 33273 applied with additional changes from upstream: 9261ca87db106c1f31f1ab4f54b8f4a2617cbc24
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=9d442e16d47bdf8d05b77a1f0c4ab313c876ac4a
Assignee | ||
Comment 3•2 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=5056a1211f6e336cc0dd9d4c3710203162778dea
Assignee | ||
Comment 4•2 years ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 60 subtests
Status Summary
Firefox
ERROR
: 1
Chrome
OK
: 1
PASS
: 40
FAIL
: 20
Safari
ERROR
: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-typed-om/stylevalue-subclasses/cssColorValue.html [wpt.fyi]:
ERROR
[GitHub
],SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-linux1804-64-tsan-qr-opt
,Gecko-windows10-32-2004-qr-debug
,Gecko-windows10-32-2004-qr-opt
,Gecko-windows10-64-2004-qr-debug
,Gecko-windows10-64-2004-qr-opt
] (Chrome:OK
, Safari:ERROR
)
Tests Disabled in Gecko Infrastructure
- /css/css-typed-om/stylevalue-subclasses/cssColorValue.html [wpt.fyi]:
ERROR
[GitHub
],SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-linux1804-64-tsan-qr-opt
,Gecko-windows10-32-2004-qr-debug
,Gecko-windows10-32-2004-qr-opt
,Gecko-windows10-64-2004-qr-debug
,Gecko-windows10-64-2004-qr-opt
] (Chrome:OK
, Safari:ERROR
)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3c552fe1d2f4 [wpt PR 33273] - Implement CSSColorValue.parse, a=testonly
Description
•