[webkit-changes] [WebKit/WebKit] f652be: Cherry-pick 261497 at main (1c49120b32b3). https://bu...

Ryosuke Niwa noreply at github.com
Thu Mar 16 02:50:16 PDT 2023


  Branch: refs/heads/webkitglib/2.38
  Home:   https://github.com/WebKit/WebKit
  Commit: f652be84866d26ffd1593e412cdb5ea3ef305eb1
      https://github.com/WebKit/WebKit/commit/f652be84866d26ffd1593e412cdb5ea3ef305eb1
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2023-03-16 (Thu, 16 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:
  -----------
  Cherry-pick 261497 at main (1c49120b32b3). https://bugs.webkit.org/show_bug.cgi?id=253680

    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


  Commit: 996be4c1edd38b1fc90d8e5eb4f69f14134752cf
      https://github.com/WebKit/WebKit/commit/996be4c1edd38b1fc90d8e5eb4f69f14134752cf
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2023-03-16 (Thu, 16 Mar 2023)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/dom/nodes/adoption.window-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-template-element/template-element/template-content-hierarcy-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/syntax/serializing-html-fragments/template-expected.txt
    M Source/WebCore/dom/ContainerNode.cpp
    M Source/WebCore/dom/Document.cpp

  Log Message:
  -----------
  Cherry-pick 261491 at main (dd0a5a2fd2e2). https://bugs.webkit.org/show_bug.cgi?id=246899

    document.adoptNode is a no-op when called on a template element's document fragment
    https://bugs.webkit.org/show_bug.cgi?id=246899

    Reviewed by Chris Dumez.

    Partially revert 252098 at main as this change turned out to be not web compatible.

    * LayoutTests/imported/w3c/web-platform-tests/dom/nodes/adoption.window-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-template-element/template-element/template-content-hierarcy-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/html/syntax/serializing-html-fragments/template-expected.txt:
    * Source/WebCore/dom/ContainerNode.cpp:
    (WebCore::containsIncludingHostElements):
    * Source/WebCore/dom/Document.cpp:
    (WebCore::Document::adoptNode):

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


Compare: https://github.com/WebKit/WebKit/compare/8420f2e2d649...996be4c1edd3


More information about the webkit-changes mailing list