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

RESOLVED FIXED in Firefox 66

Status

()

enhancement
P4
normal
RESOLVED FIXED
6 months ago
5 months ago

People

(Reporter: wptsync, Unassigned)

Tracking

unspecified
mozilla66
Points:
---

Firefox Tracking Flags

(firefox66 fixed)

Details

(Whiteboard: [wptsync downstream], )

Assignee

Description

6 months ago
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
Assignee

Updated

6 months ago
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Assignee

Comment 13

6 months ago
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

Comment 14

5 months ago
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

Comment 15

5 months ago
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

Comment 16

5 months ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/217baf944f62
https://hg.mozilla.org/mozilla-central/rev/a60945f64938
Status: NEW → RESOLVED
Last Resolved: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.