Bug 157477 - Expand 'display: contents' implementation to elements other than <slot>
Summary: Expand 'display: contents' implementation to elements other than <slot>
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, WebExposed
Depends on: 172503 172596 177060 177065 178332 178339 178513 178584 178722 178857 179179 179239 179620 179655
Blocks: 169612
  Show dependency treegraph
 
Reported: 2016-05-09 10:46 PDT by Theresa O'Connor
Modified: 2021-03-25 16:04 PDT (History)
8 users (show)

See Also:


Attachments

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