[webkit-changes] [WebKit/WebKit] 284bb1: Give a translucent backdrop and larger padding to ...

Dana Estra noreply at github.com
Wed Apr 17 16:50:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 284bb1401647bf26edf133c6543caa7f280e94d2
      https://github.com/WebKit/WebKit/commit/284bb1401647bf26edf133c6543caa7f280e94d2
  Author: Dana Estra <destra at apple.com>
  Date:   2024-04-17 (Wed, 17 Apr 2024)

  Changed paths:
    M Source/WebCore/css/CSSPseudoSelectors.json
    M Source/WebCore/css/SelectorChecker.cpp
    M Source/WebCore/css/SelectorCheckerTestFunctions.h
    M Source/WebCore/css/fullscreen.css
    M Source/WebCore/cssjit/SelectorCompiler.cpp

  Log Message:
  -----------
  Give a translucent backdrop and larger padding to videos in in-window mode
https://bugs.webkit.org/show_bug.cgi?id=272790
rdar://126589007

Reviewed by Tim Nguyen.

Sets a translucent backdrop and a top and bottom padding of 5% on videos
In in-window mode. Also renames the psuedo-class -internal-in-window-full-screen
To -internal-in-window-fullscreen.

* Source/WebCore/css/CSSPseudoSelectors.json:
* Source/WebCore/css/SelectorChecker.cpp:
(WebCore::SelectorChecker::checkOne const):
* Source/WebCore/css/SelectorCheckerTestFunctions.h:
(WebCore::matchesInWindowFullscreenPseudoClass):
(WebCore::matchesInWindowFullScreenPseudoClass): Deleted.
* Source/WebCore/css/fullscreen.css:
(*|*:not(:root):-internal-in-window-fullscreen):
(*|*:not(:root):-internal-in-window-fullscreen::backdrop):
* Source/WebCore/cssjit/SelectorCompiler.cpp:
(WebCore::SelectorCompiler::JSC_DEFINE_JIT_OPERATION):
(WebCore::SelectorCompiler::addPseudoClassType):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list