Bug 149440 - Implement :host pseudo class
Summary: Implement :host pseudo class
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 148695
  Show dependency treegraph
 
Reported: 2015-09-21 18:15 PDT by Ryosuke Niwa
Modified: 2015-10-07 13:00 PDT (History)
3 users (show)

See Also:


Attachments
patch (13.03 KB, patch)
2015-10-07 08:26 PDT, Antti Koivisto
no flags Details | Formatted Diff | Diff
patch (13.04 KB, patch)
2015-10-07 08:28 PDT, Antti Koivisto
no flags Details | Formatted Diff | Diff
patch (13.03 KB, patch)
2015-10-07 09:23 PDT, Antti Koivisto
rniwa: 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 2015-09-21 18:15:38 PDT
We should provide a mechanism to style the shadow host from its shadow tree.

:host([disabled]) { color: grey; } to grey-out text when your component has disabled attribute set.

<rdar://problem/22731953>
Comment 1 Antti Koivisto 2015-10-07 08:26:58 PDT
Created attachment 262607 [details]
patch
Comment 2 Antti Koivisto 2015-10-07 08:28:21 PDT
Created attachment 262608 [details]
patch
Comment 3 Antti Koivisto 2015-10-07 09:23:56 PDT
Created attachment 262613 [details]
patch
Comment 4 Antti Koivisto 2015-10-07 13:00:28 PDT
https://trac.webkit.org/r190680