Closed Bug 1470368 Opened 7 years ago Closed 7 years ago

[wpt-sync] Sync PR 11616 - [CSS Env Vars] Add some WPT tests

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 11616 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/11616 Details from upstream follow. Becca Hughes <beccahughes@chromium.org> wrote: > [CSS Env Vars] Add some WPT tests > > Adds some WPT tests to test env() with @supports as well > as fallback values. > > BUG=825890 > > Change-Id: I071f5c2582f8056fe39b4a50ab62140d579c577d > Reviewed-on: https://chromium-review.googlesource.com/1111023 > WPT-Export-Revision: b306c31514c6edb64ff3993e66e4b43a4fe7fd72
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Ran 7 tests and 24 subtests OK : 7 PASS : 4 FAIL : 20 New tests that have failures or other problems: /css/css-env/at-supports.tentative.html Test that CSS env vars work with @support: FAIL /css/css-env/env-in-custom-properties.tentative.html Test env() will work in custom properties: FAIL /css/css-env/fallback-nested-var.tentative.html Test that nested var() fallback values work with CSS env vars: FAIL /css/css-env/seralization-round-tripping.tentative.html Test style seralization round tripping with CSS env vars: FAIL /css/css-env/supports-script.tentative.html Test that CSS env vars work with CSS.supports: FAIL /css/css-env/syntax.tentative.html background-color: ENV(test) rgba(0, 0, 0, 0): FAIL background-color: env( test ) rgba(0, 0, 0, 0): FAIL background-color: env( test) rgba(0, 0, 0, 0): FAIL background-color: env(--test) rgba(0, 0, 0, 0): FAIL background-color: env(-test) rgba(0, 0, 0, 0): FAIL background-color: env(test ) rgba(0, 0, 0, 0): FAIL background-color: env(test /**/, blue) rgb(0, 0, 255): FAIL background-color: env(test) !important rgba(0, 0, 0, 0): FAIL background-color: env(test) rgba(0, 0, 0, 0): FAIL background-color: env(test, 10px) rgba(0, 0, 0, 0): FAIL background-color: env(test, blue) rgb(0, 0, 255): FAIL background-color: env(test, env(another)) rgba(0, 0, 0, 0): FAIL background-color: env(test, env(another, blue)) rgb(0, 0, 255): FAIL background-color: env(test, {}) rgba(0, 0, 0, 0): FAIL /css/css-env/unknown-env-names-override-previous.tentative.html Test unknown env() names will override previous values: FAIL
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/mozilla-inbound/rev/94e076704586 [wpt PR 11616] - [CSS Env Vars] Add some WPT tests, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/78f5651ef97b [wpt PR 11616] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.