[webkit-changes] [WebKit/WebKit] c81941: Support ::backdrop renderer on all elements
Tim Nguyen
noreply at github.com
Wed Nov 30 13:28:22 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c819410e71385d58040f24b7ea826966475529c0
https://github.com/WebKit/WebKit/commit/c819410e71385d58040f24b7ea826966475529c0
Author: Tim Nguyen <ntim at apple.com>
Date: 2022-11-30 (Wed, 30 Nov 2022)
Changed paths:
M Source/WebCore/css/dialog.css
M Source/WebCore/css/html.css
M Source/WebCore/rendering/updating/RenderTreeUpdaterGeneratedContent.cpp
Log Message:
-----------
Support ::backdrop renderer on all elements
https://bugs.webkit.org/show_bug.cgi?id=248456
rdar://102748281
Reviewed by Cameron McCormack.
- Move UA styles for ::backdrop to html.css, since dialog.css is only injected when a dialog element is present.
- Support ::backdrop renderer on elements that can't have generated children, by appending them as the child of RenderView instead.
* Source/WebCore/css/dialog.css:
(dialog::backdrop):
(::backdrop): Deleted.
* Source/WebCore/css/html.css:
(::backdrop):
* Source/WebCore/rendering/updating/RenderTreeUpdaterGeneratedContent.cpp:
(WebCore::RenderTreeUpdater::GeneratedContent::updateBackdropRenderer):
Canonical link: https://commits.webkit.org/257194@main
More information about the webkit-changes
mailing list