Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Quirk getElementsByName() on older iPadOS apps
https://bugs.webkit.org/show_bug.cgi?id=270229 rdar://122548304 Reviewed by Ryosuke Niwa. 272530@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
- Loading branch information
Showing
5 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters