[webkit-changes] [WebKit/WebKit] 7b474c: imported/w3c/web-platform-tests/html/interaction/f...
Chris Dumez
noreply at github.com
Tue May 9 21:48:15 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7b474c357fab882048bfa1b9f2fdbcd839183ff6
https://github.com/WebKit/WebKit/commit/7b474c357fab882048bfa1b9f2fdbcd839183ff6
Author: Chris Dumez <cdumez at apple.com>
Date: 2023-05-09 (Tue, 09 May 2023)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/the-autofocus-attribute/document-with-fragment-valid-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/the-autofocus-attribute/document-with-fragment-valid.html
A LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/the-autofocus-attribute/resources/frame-with-a.html
M LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/the-autofocus-attribute/resources/utils.js
M LayoutTests/platform/ios-wk2/TestExpectations
M LayoutTests/platform/mac-wk1/TestExpectations
R LayoutTests/platform/wpe/imported/w3c/web-platform-tests/html/interaction/focus/the-autofocus-attribute/document-with-fragment-valid-expected.txt
M Source/WebCore/dom/Document.cpp
Log Message:
-----------
imported/w3c/web-platform-tests/html/interaction/focus/the-autofocus-attribute/document-with-fragment-valid.html is a flaky text failure.
https://bugs.webkit.org/show_bug.cgi?id=254642
rdar://107348996
Reviewed by Aditya Keerthi.
Get our "flush autofocus candidates" logic closer to the HTML specification:
- https://html.spec.whatwg.org/multipage/interaction.html#flush-autofocus-candidates
In particular, it adds the required checks for the document's target element.
* LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/the-autofocus-attribute/document-with-fragment-valid-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/the-autofocus-attribute/document-with-fragment-valid.html:
* LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/the-autofocus-attribute/resources/frame-with-a.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/html/interaction/focus/the-autofocus-attribute/resources/utils.js:
(async waitForIframeLoad):
Resync from upstream WPT.
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::flushAutofocusCandidates):
Canonical link: https://commits.webkit.org/263893@main
More information about the webkit-changes
mailing list