Bug 155108 - Add :defined support
Summary: Add :defined support
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords:
Depends on: 155107
Blocks: 154907
  Show dependency treegraph
 
Reported: 2016-03-07 03:28 PST by Ryosuke Niwa
Modified: 2016-03-10 13:11 PST (History)
5 users (show)

See Also:


Attachments
WIP (3.48 KB, patch)
2016-03-07 03:31 PST, Ryosuke Niwa
no flags Details | Formatted Diff | Diff
Adds the support (15.07 KB, patch)
2016-03-10 01:46 PST, Ryosuke Niwa
no flags Details | Formatted Diff | Diff
Fixed change logs (15.15 KB, patch)
2016-03-10 01:47 PST, Ryosuke Niwa
koivisto: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>