Closed Bug 1507984 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 14099 - [css] Switch part attribute to a DOMTokenList

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Fergal Daly <fergal@chromium.org> wrote:
>  [css] Switch part attribute to a DOMTokenList
>  
>  Adds tesst for manipulating it via the attribute.
>  
>  Renames PartNames() to Part() to match with part(), the API wrapper.
>  
>  This uses the same IDL as classList.
>  
>  DO NOT SUBMIT: How to make this condition on the flag being flipped?
>  
>  
>  Bug: 805271
>  Change-Id: I9715df48478510029f5d985124e46111c41cffc3
>  
>  Reviewed-on: https://chromium-review.googlesource.com/1333014
>  WPT-Export-Revision: 88262364b982398277c00bcd0cb108d763c21270
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Ran 3 tests and 6 subtests
OK     : 3
PASS   : 1
FAIL   : 5

New tests that have failures or other problems:
/css/css-shadow-parts/invalidation-change-part-name-idl-domtokenlist.html
    Part in selected host changed color via part IDL DOMTokenList attribute.: FAIL
/css/css-shadow-parts/part-name-idl.html
    Access to .part returns an empty DOMTokenList.: FAIL
    Changes in DOMTokenList are refected in attribute.: FAIL
    DOMTokenList created by access is persisted.: FAIL
    Multiple names give a DOMTokenList with multiple entries.: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/6d7f837ccbe1
[wpt PR 14099] - [css] Switch part attribute to a DOMTokenList, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/453380fa9597
[wpt PR 14099] - Update wpt metadata, a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/217baf944f62
[wpt PR 14099] - [css] Switch part attribute to a DOMTokenList, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/a60945f64938
[wpt PR 14099] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/217baf944f62
https://hg.mozilla.org/mozilla-central/rev/a60945f64938
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.