-
Notifications
You must be signed in to change notification settings - Fork 27
Rewrite property-cascade.html with getComputedStyle() #588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Labels
focus area: Custom Properties
test-change-proposal
Proposal to add or remove tests for an interop area
Comments
fred-wang
added a commit
to web-platform-tests/wpt
that referenced
this issue
Oct 19, 2023
cc @emilio |
Changing https://wpt.fyi/results/css/css-properties-values-api/property-cascade.html to use getComputedStyle for color lgtm. |
Yeah sounds good to me fwiw. Thanks Fred! |
nt1m
pushed a commit
to web-platform-tests/wpt
that referenced
this issue
Oct 20, 2023
moz-v2v-gh
pushed a commit
to mozilla/gecko-dev
that referenced
this issue
Nov 1, 2023
…mputedStyle(), a=testonly Automatic update from web-platform-tests Rewrite property-cascade.html with getComputedStyle() (#42623) Fixes web-platform-tests/interop#588 -- wpt-commits: 0d569c25cc1d7265e8eb92ead6049600edef4a1b wpt-pr: 42623
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-wordified-and-comments-removed
that referenced
this issue
Nov 8, 2023
…mputedStyle(), a=testonly Automatic update from web-platform-tests Rewrite property-cascade.html with getComputedStyle() (#42623) Fixes web-platform-tests/interop#588 -- wpt-commits: 0d569c25cc1d7265e8eb92ead6049600edef4a1b wpt-pr: 42623 UltraBlame original commit: 356d689d5441d068224f52a979715941a3172c61
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-wordified
that referenced
this issue
Nov 8, 2023
…mputedStyle(), a=testonly Automatic update from web-platform-tests Rewrite property-cascade.html with getComputedStyle() (#42623) Fixes web-platform-tests/interop#588 -- wpt-commits: 0d569c25cc1d7265e8eb92ead6049600edef4a1b wpt-pr: 42623 UltraBlame original commit: 356d689d5441d068224f52a979715941a3172c61
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-comments-removed
that referenced
this issue
Nov 8, 2023
…mputedStyle(), a=testonly Automatic update from web-platform-tests Rewrite property-cascade.html with getComputedStyle() (#42623) Fixes web-platform-tests/interop#588 -- wpt-commits: 0d569c25cc1d7265e8eb92ead6049600edef4a1b wpt-pr: 42623 UltraBlame original commit: 356d689d5441d068224f52a979715941a3172c61
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
focus area: Custom Properties
test-change-proposal
Proposal to add or remove tests for an interop area
Test List
https://wpt.fyi/results/css/css-properties-values-api/property-cascade.html
Rationale
The following tests from
css-properties-values-api
rely on thecomputedStyleMap()
API from CSS Typed OM Level 1, which is beingproposed for interop 2024 in #490:
The two first are really testing the Typed OM spec with registered
properties and are not labelled for interop 2023, so that's fine.
However, the last one is included in interop 2023 and fails in Firefox,
(which does not implement the
computedStyleMap()
API yet):https://wpt.fyi/results/css/css-properties-values-api?q=label%3Ainterop-2023-property
Checking
property-cascade.html
in more details,computedStyleMap()
is really only used to get the computed value of sRGB colors, which
have the same used and resolved values. So
getComputedStyle()
can justbe used instead.
(After doing that, WebKit and Chrome still pass the tests, while
Firefox Nightly really fails because of it violates the actual
assertion being tested)
The text was updated successfully, but these errors were encountered: