WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
229135
Make most pseudo elements with display: contents; compute display value to inline by default
https://bugs.webkit.org/show_bug.cgi?id=229135
Summary
Make most pseudo elements with display: contents; compute display value to in...
Tim Nguyen (:ntim)
Reported
2021-08-16 04:31:47 PDT
Except ::before/::after/::file-selector-button where display: contents should just work. Except ::backdrop where it should compute to block (though this will be handled along with the backdrop + top layer implementation).
Attachments
Patch
(1.86 KB, patch)
2021-10-15 02:05 PDT
,
Tim Nguyen (:ntim)
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Tim Nguyen (:ntim)
Comment 1
2021-08-16 04:32:03 PDT
See also:
https://github.com/w3c/csswg-drafts/issues/6518
Radar WebKit Bug Importer
Comment 2
2021-08-23 04:32:15 PDT
<
rdar://problem/82239251
>
Tim Nguyen (:ntim)
Comment 3
2021-10-15 02:05:21 PDT
Created
attachment 441352
[details]
Patch
Antti Koivisto
Comment 4
2021-10-15 02:37:37 PDT
this needs a test
Tim Nguyen (:ntim)
Comment 5
2021-10-15 04:12:36 PDT
(In reply to Antti Koivisto from
comment #4
)
> this needs a test
Do you know where this case is ever reached? I'm tempted to remove the block if it isn't reached.
Antti Koivisto
Comment 6
2021-10-15 05:37:34 PDT
> Do you know where this case is ever reached? I'm tempted to remove the block > if it isn't reached.
No, but I would expect that the person who wants to change the code does.
Tim Nguyen (:ntim)
Comment 7
2021-10-15 08:25:16 PDT
Will look into this when I have more time.
Ahmad Saleem
Comment 8
2025-05-11 12:13:07 PDT
is it now Not Applicable since Gecko has bug filed against it?
https://bugzilla.mozilla.org/show_bug.cgi?id=1418138
This part - style.setEffectiveDisplay(DisplayType::Inline); Don't know about: if (isInTopLayerOrBackdrop(style, m_element) || m_document.documentElement() == m_element)
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug