WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
266561
Display:contents elements are "rendered" for innerText
https://bugs.webkit.org/show_bug.cgi?id=266561
Summary
Display:contents elements are "rendered" for innerText
Ahmad Saleem
Reported
2023-12-17 15:58:45 PST
Hi Team, While going through Blink's commit and WPT failures, I came across another failing test cases: Blink Commit:
https://chromium.googlesource.com/chromium/src.git/+/1db9cd28e195d4af700dc841988282de7c58bbd6
WebKit Source:
https://searchfox.org/wubkat/rev/9222f67347ee90fcc400687e756ef8c8979748f0/Source/WebCore/dom/Element.cpp#3891
I tried in the past (hasDisplayContents() <- bool function in Element.cpp) but we start failing / crashing WPT test case on release. WPT Test Case:
https://wpt.fyi/results/html/dom/elements/the-innertext-and-outertext-properties/getter.html?label=master&label=experimental&aligned=&q=safari%3Afail
> display:contents not processed via textContent ("<div style='display:contents'> ")
We fail above which this Blink progressed. Thanks!
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-12-24 15:59:14 PST
<
rdar://problem/120100373
>
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