[webkit-changes] [WebKit/WebKit] e873de: WPT: A subtest in shadow-dom/focus/focus-method-wi...
Ryosuke Niwa
noreply at github.com
Wed Feb 1 12:22:27 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e873de3c117e4e0e5a8c9103b64b394d0a3c3f3d
https://github.com/WebKit/WebKit/commit/e873de3c117e4e0e5a8c9103b64b394d0a3c3f3d
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2023-02-01 (Wed, 01 Feb 2023)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/shadow-dom/focus/focus-method-with-delegatesFocus-expected.txt
M Source/WebCore/dom/Element.cpp
Log Message:
-----------
WPT: A subtest in shadow-dom/focus/focus-method-with-delegatesFocus.html fails
https://bugs.webkit.org/show_bug.cgi?id=251462
Reviewed by Tim Nguyen.
The bug was caused by findFocusDelegateInternal only iterating over its direct children instead of all descendants.
Fixed the bug by changing it to traverse all descendant nodes.
* LayoutTests/imported/w3c/web-platform-tests/shadow-dom/focus/focus-method-with-delegatesFocus-expected.txt:
* Source/WebCore/dom/Element.cpp:
(WebCore::findFocusDelegateInternal):
Canonical link: https://commits.webkit.org/259707@main
More information about the webkit-changes
mailing list