Closed Bug 1502887 Opened 7 years ago Closed 7 years ago

[wpt-sync] Sync PR 13761 - [css-properties-values-api] Proper computed value for <color>.

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 13761 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/13761 Details from upstream follow. Anders Hartvoll Ruud <andruud@chromium.org> wrote: > [css-properties-values-api] Proper computed value for <color>. > > As of an imminent spec change, \<color> values no longer compute to their > specified value, but behave like \<color> values in general. > > Note that color keywords are parsed as CSSIdentifierValue (holding a > CSSValueID), and custom idents are parsed as CSSCustomIdentValue (holding a > String), which is why the "tomato | \<color>" works as it should. > > R=futhark@chromium.org > > Bug: 641877 > Change-Id: I946536a9d54dbaa7af589cb99acdba72f37fe016 > Reviewed-on: https://chromium-review.googlesource.com/1303365 > WPT-Export-Revision: e33dc717483a3c3dbe0a8afec94edfb738891437
PR 13761 applied with additional changes from upstream: 979839c026d9a272a0c5c09097b92b74b00ff90e
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Ran 3 tests and 30 subtests OK : 3 PASS : 1 FAIL : 29 New tests that have failures or other problems: /css/css-properties-values-api/registered-property-computation.html <color> values are computed correctly for divWithFontSizeInherited: FAIL <color> values are computed correctly for divWithFontSizeSet: FAIL <integer> values are computed correctly for divWithFontSizeInherited: FAIL <integer> values are computed correctly for divWithFontSizeSet: FAIL <integer>+ values are computed correctly for divWithFontSizeInherited: FAIL <integer>+ values are computed correctly for divWithFontSizeSet: FAIL ident values that look like color keywords are not converted to colorsdivWithFontSizeInherited: FAIL ident values that look like color keywords are not converted to colorsdivWithFontSizeSet: FAIL
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/8e77decfb1e9 [wpt PR 13761] - [css-properties-values-api] Proper computed value for <color>., a=testonly
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.