Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Implement focus fixup rule
https://bugs.webkit.org/show_bug.cgi?id=237273 Reviewed by Tim Nguyen. Implement step 15 of update the rendering between 14. servicing resize observers and 16. updating intersection observations: whatwg/html#8392 * LayoutTests/imported/w3c/web-platform-tests/css/css-contain/container-queries/layout-dependent-focus-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/selectors/focus-display-none-001-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/selectors/focus-within-display-none-001-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/inert/dynamic-inert-on-focused-element-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/shadow-dom/focus/focus-shadowhost-display-none-expected.txt: * Source/WebCore/page/Page.cpp: (WebCore::Page::updateRendering): (WebCore::operator<<): * Source/WebCore/page/Page.h: Canonical link: https://commits.webkit.org/260067@main
- Loading branch information
Showing
7 changed files
with
22 additions
and
27 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
.../web-platform-tests/css/css-contain/container-queries/layout-dependent-focus-expected.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
|
||
FAIL Verify that onblur is called on hidden input assert_unreached: Event listener for 'blur' not called Reached unreachable code | ||
PASS Verify that onblur is called on hidden input | ||
|
4 changes: 2 additions & 2 deletions
4
...utTests/imported/w3c/web-platform-tests/css/selectors/focus-display-none-001-expected.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
|
||
FAIL Test ':focus' after 'display:none' on input assert_false: Check input doesn't match ':focus' after getting 'display: none' expected false got true | ||
FAIL Test ':focus' after 'display:none' on input's parent assert_false: Check input doesn't match ':focus' after parent got 'display: none' expected false got true | ||
PASS Test ':focus' after 'display:none' on input | ||
PASS Test ':focus' after 'display:none' on input's parent | ||
|
4 changes: 2 additions & 2 deletions
4
.../imported/w3c/web-platform-tests/css/selectors/focus-within-display-none-001-expected.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
|
||
FAIL Test ':focus-within' after 'display:none' on input assert_false: Check input doesn't match ':focus-within' after getting 'display: none' expected false got true | ||
FAIL Test ':focus-within' after 'display:none' on input's parent assert_false: Check input doesn't match ':focus-within' after parent got 'display: none' expected false got true | ||
PASS Test ':focus-within' after 'display:none' on input | ||
PASS Test ':focus-within' after 'display:none' on input's parent | ||
|
24 changes: 6 additions & 18 deletions
24
...Tests/imported/w3c/web-platform-tests/inert/dynamic-inert-on-focused-element-expected.txt
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
6 changes: 2 additions & 4 deletions
6
...ported/w3c/web-platform-tests/shadow-dom/focus/focus-shadowhost-display-none-expected.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
|
||
Harness Error (TIMEOUT), message = null | ||
|
||
TIMEOUT when shadow host itself is focused, it should match display:none, lose focus then becomes display:block again. Test timed out | ||
NOTRUN when shadow host with delegatesFocus=true has focused element inside the shadow, it should also match display:none, then lose focus and become display:block again. | ||
PASS when shadow host itself is focused, it should match display:none, lose focus then becomes display:block again. | ||
PASS when shadow host with delegatesFocus=true has focused element inside the shadow, it should also match display:none, then lose focus and become display:block again. | ||
|
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