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

RESOLVED FIXED in Firefox 64

Status

()

enhancement
P4
normal
RESOLVED FIXED
10 months ago
10 months ago

People

(Reporter: wptsync, Unassigned)

Tracking

unspecified
mozilla64
Points:
---

Firefox Tracking Flags

(firefox64 fixed)

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: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.