Closed Bug 1441367 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 9402 - Add test for basic parsing of color()

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla60
Tracking Status
firefox60 --- fixed

People

(Reporter: mozilla.org, Assigned: jgraham)

Details

(Whiteboard: [wptsync upstream error])

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

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

Chris Nardi wrote:
>  Add test for basic parsing of color()
>  
>  Include a basic test for parsing of the color function defined in CSS Color 4. This is upstreamed from a test added by dino@apple.com in http://trac.webkit.org/changeset/208116/webkit.
>  
>  
>
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Ran 1 tests and 30 subtests
OK     : 1
PASS   : 9
FAIL   : 21

New tests that have failures or other problems:
/css/css-color/color-function-parsing.html
    All components missing: FAIL
    Alpha > 1 should clamp: FAIL
    Basic sRGB white: FAIL
    Different case for Display P3: FAIL
    Different case for sRGB: FAIL
    Display P3 color: FAIL
    Display P3 color with component > 1 should clamp: FAIL
    Display P3 color with negative component should clamp to 0: FAIL
    Negative alpha should clamp: FAIL
    One missing component is 0: FAIL
    Two missing components are 0: FAIL
    Unknown color space should fallback: FAIL
    White with lots of space: FAIL
    sRGB color: FAIL
    sRGB color with component > 1 should clamp: FAIL
    sRGB color with negative component should clamp to 0: FAIL
    sRGB color with unnecessary decimals: FAIL
    sRGB white with 0 alpha: FAIL
    sRGB white with 0% alpha: FAIL
    sRGB white with 0.5 alpha: FAIL
    sRGB white with 50% alpha: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/bb0cf2a57f10
[wpt PR 9402] - Add test for basic parsing of color(), a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/15ff3b2ed202
[wpt PR 9402]- Update wpt metadata, a=testonly
Whiteboard: [wptsync downstream] → [wptsync upstream error]
https://hg.mozilla.org/mozilla-central/rev/bb0cf2a57f10
https://hg.mozilla.org/mozilla-central/rev/15ff3b2ed202
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
After backing out https://bugzilla.mozilla.org/show_bug.cgi?id=1443558#c4 the wpt tests started mass failing as you can see on this push https://goo.gl/Awm6eR  

I decided to backout all the changesets from the original push https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?changeset=5138dcf1eddd750c06e05a784f170b771ba58f60 because of this mass wpt failures.
Status: RESOLVED → REOPENED
Flags: needinfo?(bugs)
Resolution: FIXED → ---
Target Milestone: mozilla60 → ---
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/a1c9efbec373
[wpt PR 9402] - Add test for basic parsing of color(), a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/81f2c8ba7da4
[wpt PR 9402]- Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/a1c9efbec373
https://hg.mozilla.org/mozilla-central/rev/81f2c8ba7da4
Status: REOPENED → RESOLVED
Closed: 6 years ago6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
Assignee: nobody → james
Flags: needinfo?(bugs)
You need to log in before you can comment on or make changes to this bug.