Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 35b013637d9406f922cbac0360ed0c2e127480bd
      
https://github.com/WebKit/WebKit/commit/35b013637d9406f922cbac0360ed0c2e127480bd
  Author: Luke Warlow <[email protected]>
  Date:   2026-04-02 (Thu, 02 Apr 2026)

  Changed paths:
    M Source/WebCore/dom/Document.cpp
    M Source/WebCore/dom/Document.h
    M Source/WebCore/html/HTMLDialogElement.cpp
    M Source/WebCore/rendering/RenderLayerBacking.cpp
    M Source/WebCore/style/StyleAdjuster.cpp

  Log Message:
  -----------
  Implement dialog light dismiss for iOS
https://bugs.webkit.org/show_bug.cgi?id=298201
rdar://160126903

Reviewed by Tim Nguyen.

Adds to code needed for popover light dismiss but for dialogs too.

* Source/WebCore/dom/Document.cpp:
(WebCore::Document::addTopLayerElement):
(WebCore::Document::removeTopLayerElement):
* Source/WebCore/dom/Document.h:
(WebCore::Document::needsPointerEventHandlingForPopoverOrDialog const):
(WebCore::Document::needsPointerEventHandlingForPopover const): Deleted.
* Source/WebCore/html/HTMLDialogElement.cpp:
(WebCore::HTMLDialogElement::setupSteps):
(WebCore::HTMLDialogElement::cleanupSteps):
* Source/WebCore/rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::maintainsEventRegion const):
* Source/WebCore/style/StyleAdjuster.cpp:
(WebCore::Style::Adjuster::adjustEventListenerRegionTypesForRootStyle):

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



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

Reply via email to