[webkit-changes] [WebKit/WebKit] b61be6: ::backdrop UA styles should be appended unconditio...

Tim Nguyen noreply at github.com
Thu Dec 1 19:04:16 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b61be6859ef67ffca841559ce2cea64a3bcb3710
      https://github.com/WebKit/WebKit/commit/b61be6859ef67ffca841559ce2cea64a3bcb3710
  Author: Tim Nguyen <ntim at apple.com>
  Date:   2022-12-01 (Thu, 01 Dec 2022)

  Changed paths:
    M Source/WebCore/css/dialog.css
    M Source/WebCore/css/html.css

  Log Message:
  -----------
  ::backdrop UA styles should be appended unconditionally
https://bugs.webkit.org/show_bug.cgi?id=248456
rdar://102748281

Reviewed by Cameron McCormack.

In preparation for using the top layer for fullscreen elements, we move the UA styles for ::backdrop (that fullscreen will need) to html.css.
dialog.css is only appended when a dialog is found in the document.

* Source/WebCore/css/dialog.css:
(dialog::backdrop):
(::backdrop): Deleted.
* Source/WebCore/css/html.css:
(::backdrop):

Canonical link: https://commits.webkit.org/257267@main




More information about the webkit-changes mailing list