[webkit-changes] [WebKit/WebKit] 1c4912: Summary element is not focusable with tabindex

Ahmad Saleem noreply at github.com
Fri Mar 10 06:08:44 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1c49120b32b382c185f215ada1bc96342a89f83e
      https://github.com/WebKit/WebKit/commit/1c49120b32b382c185f215ada1bc96342a89f83e
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2023-03-10 (Fri, 10 Mar 2023)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/tabindex-focus-flag-expected.txt
    M Source/WebCore/html/HTMLSummaryElement.cpp

  Log Message:
  -----------
  Summary element is not focusable with tabindex

https://bugs.webkit.org/show_bug.cgi?id=253680

Reviewed by Aditya Keerthi.

This patch aligns WebKit to Gecko / Firefox and Blink / Chromium by adding 'HTMLElement::supportsFocus'
similar to other elements to enable 'summary' element being focusable with tabindex on element.

* Source/WebKit/html/HTMLSummaryElement.cpp:
(HTMLSummaryElement::supportsFocus):
* LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/tabindex-focus-flag-expected.txt: Rebaselined

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




More information about the webkit-changes mailing list