[Webkit-unassigned] [Bug 257279] ASSERTION FAILED: rootRenderer.isDocumentElementRenderer() for fast/body-propagation/background-image/007-xhtml.xhtml

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 24 14:27:05 PDT 2023


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

--- Comment #2 from Fujii Hironori <Hironori.Fujii at sony.com> ---
This code is assuming the parent of <body> is <html>. But, it's <bogus> in the tests.

I think we should copy the following code from RenderElement::styleWillChange.
https://github.com/WebKit/WebKit/blob/48c6a9eda4fdc93834a69222bd4db466c7b94e52/Source/WebCore/rendering/RenderElement.cpp#L882
> bool drawsRootBackground = isDocumentElementRenderer() || (isBody() && !rendererHasBackground(document().documentElement()->renderer()));

-- 
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/20230524/b72cfd49/attachment.htm>


More information about the webkit-unassigned mailing list