[webkit-changes] [WebKit/WebKit] 290968: Quirk getElementsByName() on older iPadOS apps

Anne van Kesteren noreply at github.com
Thu Mar 7 01:47:32 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 290968e36d41b424e268d39e9a2774c64cc6bd87
      https://github.com/WebKit/WebKit/commit/290968e36d41b424e268d39e9a2774c64cc6bd87
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2024-03-07 (Thu, 07 Mar 2024)

  Changed paths:
    M Source/WTF/wtf/cocoa/RuntimeApplicationChecksCocoa.h
    M Source/WebCore/dom/NameNodeList.cpp
    M Source/WebCore/dom/NameNodeList.h
    M Source/WebCore/page/Quirks.cpp
    M Source/WebCore/page/Quirks.h

  Log Message:
  -----------
  Quirk getElementsByName() on older iPadOS apps
https://bugs.webkit.org/show_bug.cgi?id=270229
rdar://122548304

Reviewed by Ryosuke Niwa.

272530 at main aligned us with the HTML Standard for getElementsByName()
by making it only work for HTML elements.

There is at least one iPadOS app that is impacted by that change. This
change should give them a bit of time to catch up by making
getElementsByName() look at all elements again for older iPadOS apps.

* Source/WTF/wtf/cocoa/RuntimeApplicationChecksCocoa.h:
* Source/WebCore/dom/NameNodeList.cpp:
(WebCore::NameNodeList::NameNodeList):
(WebCore::NameNodeList::elementMatches const):
* Source/WebCore/dom/NameNodeList.h:
* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::needsGetElementsByNameQuirk const):
* Source/WebCore/page/Quirks.h:

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