Bug 149440

Summary: Implement :host pseudo class
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: koivisto, rniwa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 148695    
Attachments:
Description Flags
patch
none
patch
none
patch rniwa: review+

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