Bug 155108

Summary: Add :defined support
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: CSSAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, cdumez, kling, koivisto, ysuzuki
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 155107    
Bug Blocks: 154907    
Attachments:
Description Flags
WIP
none
Adds the support
none
Fixed change logs koivisto: review+

Description Ryosuke Niwa 2016-03-07 03:28:55 PST
Implement: https://rawgit.com/w3c/webcomponents/construction/spec/custom/index.html#unresolved-element-pseudoclass

The :unresolved pseudo-class [CSS3-SELECTORS] must match all custom elements whose custom element constructor has not yet been invoked.

<rdar://problem/24923698>
Comment 1 Ryosuke Niwa 2016-03-07 03:31:21 PST
Created attachment 273171 [details]
WIP
Comment 2 Ryosuke Niwa 2016-03-10 01:36:38 PST
The spec has been updated to now define :defined instead:
https://w3c.github.io/webcomponents/spec/custom/#the-defined-element-pseudo-class-defined
Comment 3 Ryosuke Niwa 2016-03-10 01:46:33 PST
Created attachment 273549 [details]
Adds the support
Comment 4 Ryosuke Niwa 2016-03-10 01:47:37 PST
Created attachment 273550 [details]
Fixed change logs
Comment 5 Antti Koivisto 2016-03-10 02:44:08 PST
r=me
Comment 6 Ryosuke Niwa 2016-03-10 13:11:20 PST
Committed r197952: <http://trac.webkit.org/changeset/197952>