Closed Bug 1470933 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 11658 - Reland "[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: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 11658 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/11658
Details from upstream follow.

Becca Hughes <beccahughes@chromium.org> wrote:
>  Reland "[CSS Env Vars] Add some WPT tests"
>  
>  This is a reland of 981a543f9e743001a6e492a006873de3a5953747
>  
>  Original change's description:
>  > [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
>  > Reviewed-by: Rune Lillesveen <futhark@chromium.org>
>  > Reviewed-by: Mounir Lamouri <mlamouri@chromium.org>
>  > Commit-Queue: Becca Hughes <beccahughes@chromium.org>
>  > Cr-Commit-Position: refs/heads/master@{#569852}
>  
>  Bug: 825890
>  Change-Id: If828b977d62145fb1ea9bb710a48d76307a054d5
>  
>  Reviewed-on: https://chromium-review.googlesource.com/1113877
>  WPT-Export-Revision: e4bb28e52e3555b907acf62e31405a69e05b8c86
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/7323f3355fa4
[wpt PR 11658] - Reland "[CSS Env Vars] Add some WPT tests", a=testonly
https://hg.mozilla.org/mozilla-central/rev/7323f3355fa4
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.