[webkit-changes] [WebKit/WebKit] 8a02da: Implement new popover inside invoker behaviour

Luke Warlow noreply at github.com
Sun Dec 8 14:34:30 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8a02dacf8e5b11135f826944889ac535264f3e41
      https://github.com/WebKit/WebKit/commit/8a02dacf8e5b11135f826944889ac535264f3e41
  Author: Luke Warlow <lwarlow at igalia.com>
  Date:   2024-12-08 (Sun, 08 Dec 2024)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/popover-nested-in-button-expected.txt
    M Source/WebCore/html/HTMLButtonElement.cpp
    M Source/WebCore/html/HTMLFormControlElement.cpp
    M Source/WebCore/html/HTMLFormControlElement.h
    M Source/WebCore/html/HTMLInputElement.cpp

  Log Message:
  -----------
  Implement new popover inside invoker behaviour
https://bugs.webkit.org/show_bug.cgi?id=283494

Reviewed by Tim Nguyen.

This patch matches the new spec behaviour for when a popover is inside its invoker.

See https://github.com/whatwg/html/pull/10770

* LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/popover-nested-in-button-expected.txt:
* Source/WebCore/html/HTMLButtonElement.cpp:
(WebCore::HTMLButtonElement::defaultEventHandler):
* Source/WebCore/html/HTMLFormControlElement.cpp:
(WebCore::HTMLFormControlElement::handlePopoverTargetAction const):
* Source/WebCore/html/HTMLFormControlElement.h:
* Source/WebCore/html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::defaultEventHandler):

Canonical link: https://commits.webkit.org/287522@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