[Webkit-unassigned] [Bug 258015] New: Resolution context for `::backdrop` must not use element's style as parent style

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 13 04:42:01 PDT 2023


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

            Bug ID: 258015
           Summary: Resolution context for `::backdrop` must not use
                    element's style as parent style
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: vitaly at igalia.com

Until a very recent "Fullscreen API" spec update [1], `::backdrop` pseudo-element was not supposed to inherit from any element, including its owner element.
But because some style-related functions expect that the parent style is never `nullptr` we use render view style as a parent style [2].
Since it's expected behavior for now across the codebase and the tests were not updated yet, we should use the same approach when creating `ResultionContext` for `::backdrop` pseudo-element.

[1] https://github.com/whatwg/fullscreen/commit/666438755d2f252be1d1f73d8214ac494489d32c
[2] https://github.com/WebKit/WebKit/blob/b872c8723cdbb67aafa46776c2e05066fd4ebbe2/Source/WebCore/rendering/updating/RenderTreeUpdaterGeneratedContent.cpp#L203C6-L204

-- 
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/20230613/2ab2424a/attachment.htm>


More information about the webkit-unassigned mailing list