[prev in list] [next in list] [prev in thread] [next in thread] 

List:       webkit-changes
Subject:    [webkit-changes] [WebKit/WebKit] c81941: Support ::backdrop renderer on all elements
From:       Tim Nguyen <noreply () github ! com>
Date:       2022-11-30 21:28:22
Message-ID: WebKit/WebKit/push/refs/heads/main/8ed8d1-c81941 () github ! com
[Download RAW message or body]

  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c819410e71385d58040f24b7ea826966475529c0
      https://github.com/WebKit/WebKit/commit/c819410e71385d58040f24b7ea826966475529c0
  Author: Tim Nguyen <ntim@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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic