[Webkit-unassigned] [Bug 253706] New: RenderLayer::hasVisibleContent() incorrect when layer removed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 10 08:08:24 PST 2023


            Bug ID: 253706
           Summary: RenderLayer::hasVisibleContent() incorrect when layer
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com
                CC: bfulgham at webkit.org, koivisto at iki.fi,
                    simon.fraser at apple.com, zalan at apple.com

Hi Team,

While going through Blink's commit, I came across another failing test case:

Test case - https://jsfiddle.net/b7kwpvx8/1/

^ Safari Technology Preview 164 show 'Red' while Chrome Canary 113 and Firefox Nightly 112 show 'Green'.

Blink Commit - https://chromium.googlesource.com/chromium/blink/+/c5587982b1ed1ec62452f5d2c93c0f385a3941a1

WebKit Source - https://searchfox.org/wubkat/source/Source/WebCore/rendering/RenderLayer.cpp#459

Below this WebKit source, in local testing when I add following:

if (renderer().style().visibility() != Visibility::Visible)


It fixes this bug and show 'Green' similar to other browsers.

Appreciate if someone can share input and I am happy to do PR.


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/20230310/cd1459a2/attachment.htm>

More information about the webkit-unassigned mailing list