imported/w3c/web-platform-tests/editing/other/editable-state-and-focus-in-shadow-dom-in-designMode.tentative.html is a constant text failure on iOs and XVFB/Wayland. HISTORY: https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fediting%2Fother%2Feditable-state-and-focus-in-shadow-dom-in-designMode.tentative.html DIFF URL: https://build.webkit.org/results/Apple-iOS-16-Simulator-Release-WK2-Tests/262718@main%20(2043)/imported/w3c/web-platform-tests/editing/other/editable-state-and-focus-in-shadow-dom-in-designMode.tentative-pretty-diff.html DIFF TEXT: PASS Focus after Collapse selection into text in the open shadow DOM PASS Typing "A" after Collapse selection into text in the open shadow DOM PASS Focus after Collapse selection into text in <div contenteditable> in the open shadow DOM -PASS Typing "A" after Collapse selection into text in <div contenteditable> in the open shadow DOM +FAIL Typing "A" after Collapse selection into text in <div contenteditable> in the open shadow DOM assert_equals: The shadow DOM shouldn't be modified after Collapse selection into text in <div contenteditable> in the open shadow DOM expected "<style>:focus { outline: 3px red solid; }</style><div>text<div contenteditable=\"\">Aeditable</div><object tabindex=\"0\">object</object><p tabindex=\"0\">paragraph</p></div>" but got "<style>:focus { outline: 3px red solid; }</style><div>text<div contenteditable=\"\">editable</div><object tabindex=\"0\">object</object><p tabindex=\"0\">paragraph</p></div>" PASS Focus after Set focus to <object> in the open shadow DOM PASS Typing "A" after Set focus to <object> in the open shadow DOM PASS Focus after Set focus to <p tabindex="0"> in the open shadow DOM @@ -27,7 +27,7 @@ PASS Focus after Collapse selection into text in the closed shadow DOM PASS Typing "A" after Collapse selection into text in the closed shadow DOM PASS Focus after Collapse selection into text in <div contenteditable> in the closed shadow DOM -PASS Typing "A" after Collapse selection into text in <div contenteditable> in the closed shadow DOM +FAIL Typing "A" after Collapse selection into text in <div contenteditable> in the closed shadow DOM assert_equals: The shadow DOM shouldn't be modified after Collapse selection into text in <div contenteditable> in the closed shadow DOM expected "<style>:focus { outline: 3px red solid; }</style><div>text<div contenteditable=\"\">Aeditable</div><object tabindex=\"0\">object</object><p tabindex=\"0\">paragraph</p></div>" but got "<style>:focus { outline: 3px red solid; }</style><div>text<div contenteditable=\"\">editable</div><object tabindex=\"0\">object</object><p tabindex=\"0\">paragraph</p></div>" PASS Focus after Set focus to <object> in the closed shadow DOM PASS Typing "A" after Set focus to <object> in the closed shadow DOM PASS Focus after Set focus to <p tabindex="0"> in the closed shadow DOM
<rdar://problem/107774968>
I have reproduce the text failure on iOS 16 Release ToT running the test as follows: run-webkit-tests --iOS-simulator imported/w3c/web-platform-tests/editing/other/editable-state-and-focus-in-shadow-dom-in-designMode.tentative.html I have marked expectations for this test on iOS while under investigation. https://commits.webkit.org/262734@main
I was able to verify that https://commits.webkit.org/262563@main is the regression point, which is also when this test was last touched/modified.
The issue is somehow that letter “A” isn’t typed into the editable region in iOS. We probably just need to check in the failing test expectation for now. Waiting for the keyboard to show up, for example, doesn’t help.
Pull request: https://github.com/WebKit/WebKit/pull/12583
Test gardening commit 262782@main (c3cf8c9d9de2): <https://commits.webkit.org/262782@main> Reviewed commits have been landed. Closing PR #12583 and removing active labels.