[webkit-changes] [WebKit/WebKit] 9d1bb9: Implement ShadowRoot.fullscreenElement

Tim Nguyen noreply at github.com
Tue Dec 6 22:41:20 PST 2022


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

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/fullscreen/api/document-exit-fullscreen-nested-shadow-dom-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/fullscreen/api/shadowroot-fullscreen-element-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/fullscreen/api/shadowroot-fullscreen-element.html
    M Source/WebCore/dom/DocumentOrShadowRootFullscreen.cpp

  Log Message:
  -----------
  Implement ShadowRoot.fullscreenElement
https://bugs.webkit.org/show_bug.cgi?id=248712
rdar://102937497

Reviewed by Chris Dumez.

Use ancestorElementInThisScope() similarly to webkitFullscreenElement.

* LayoutTests/imported/w3c/web-platform-tests/fullscreen/api/document-exit-fullscreen-nested-shadow-dom-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/fullscreen/api/shadowroot-fullscreen-element-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/fullscreen/api/shadowroot-fullscreen-element.html: Added.
* Source/WebCore/dom/DocumentOrShadowRootFullscreen.cpp:
(WebCore::DocumentOrShadowRootFullscreen::fullscreenElement):

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




More information about the webkit-changes mailing list