Closed Bug 1497732 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 13442 - [css-properties-values-api] Multi-value StylePropertyMap.set.

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Anders Hartvoll Ruud <andruud@chromium.org> wrote:
>  [css-properties-values-api] Multi-value StylePropertyMap.set.
>  
>  This adds support for setting multiple values with TypedOM for list-valued
>  custom properties. For example, for a property --x with syntax \<length>+,
>  it will now be possible to do:
>  
>    element.attributeStyleMap.set('--x', CSS.px(1), CSS.px(2));
>  
>  This is done by producing a CSSVariableReferenceValue holding tokens
>  equivalent to the incoming CSSStyleValues, provided that those values
>  match the grammar of the custom property.
>  
>  R=chrishtr@chromium.org
>  
>  Bug: 641877
>  Change-Id: Ic28497edbbea894a9c09b840dcb6c8fb825d99bb
>  Reviewed-on: https://chromium-review.googlesource.com/1270963
>  WPT-Export-Revision: 28bf64cc14ec31dd5accab4248b1b902d8954af2
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Ran 1 tests and 20 subtests
FAIL   : 20
ERROR  : 1
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/951ff6470f1f
[wpt PR 13442] - [css-properties-values-api] Multi-value StylePropertyMap.set., a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/406db3cf6245
[wpt PR 13442] - [css-properties-values-api] Multi-value StylePropertyMap.set., a=testonly
https://hg.mozilla.org/mozilla-central/rev/406db3cf6245
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.