[Webkit-unassigned] [Bug 266561] New: Display:contents elements are "rendered" for innerText

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 17 15:58:45 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=266561

            Bug ID: 266561
           Summary: Display:contents elements are "rendered" for innerText
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com

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!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20231217/b261503c/attachment.htm>


More information about the webkit-unassigned mailing list