Bug 157477

Summary: Expand 'display: contents' implementation to elements other than <slot>
Product: WebKit Reporter: Theresa O'Connor <eoconnor>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ecobos, emilio, koivisto, simon.fraser, streltsyn111, vertigoback, webkit-bug-importer, webkit
Priority: P2 Keywords: InRadar, WebExposed
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 172503, 172596, 177060, 177065, 178332, 178339, 178513, 178584, 178722, 178857, 179179, 179239, 179620, 179655    
Bug Blocks: 169612    

Description Theresa O'Connor 2016-05-09 10:46:17 PDT
We currently support 'display: contents' for slot elements (see https://bugs.webkit.org/show_bug.cgi?id=149439 for details). We should expand this to be generally usable for other elements.
Comment 1 Radar WebKit Bug Importer 2016-05-09 10:47:28 PDT
<rdar://problem/26174284>
Comment 2 Ilya Streltsyn 2017-07-18 23:21:26 PDT
I believe this bug should have higher priority since the current implementation results in wrong behavior: '@supports(display:contents)' feature request claims that browser supports this value (which is partially true since it can parse it), but it doesn't apply actually. Tested in iOS 10.3 Safari.
Comment 3 Antti Koivisto 2017-11-14 11:07:40 PST
Enabled by default in https://trac.webkit.org/changeset/224822