Upstream to WPT Shadow DOM tests related to :focus pseudo-class
authorrego@igalia.com <rego@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Jan 2021 11:41:20 +0000 (11:41 +0000)
committerrego@igalia.com <rego@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Jan 2021 11:41:20 +0000 (11:41 +0000)
commit629fcd4b5b5460c9e1960e36774ff6896339eb55
treeae78a176ad8ddd28292ba2a8582ad6caf92344ef
parent992c93ec3e1ad63f9dd9730322a7300a8ada9180
Upstream to WPT Shadow DOM tests related to :focus pseudo-class
https://bugs.webkit.org/show_bug.cgi?id=220907

Reviewed by Ryosuke Niwa.

LayoutTests/imported/w3c:

These tests landed originally in r250788 (bug #202432).

* web-platform-tests/shadow-dom/focus/focus-pseudo-matches-on-shadow-host-expected.txt: Renamed from LayoutTests/fast/shadow-dom/focus-pseudo-matches-on-shadow-host-expected.txt.
* web-platform-tests/shadow-dom/focus/focus-pseudo-matches-on-shadow-host.html: Renamed from LayoutTests/fast/shadow-dom/focus-pseudo-matches-on-shadow-host.html.
  Removed workaround to wait until :focus matches on "focus" event, as that has been fixed in r271146 (bug #220243).
* web-platform-tests/shadow-dom/focus/focus-pseudo-on-shadow-host-1-expected.xht: Added.
* web-platform-tests/shadow-dom/focus/focus-pseudo-on-shadow-host-1.html: Renamed from LayoutTests/fast/shadow-dom/focus-pseudo-on-shadow-host-1.html.
* web-platform-tests/shadow-dom/focus/focus-pseudo-on-shadow-host-2-expected.xht: Added.
* web-platform-tests/shadow-dom/focus/focus-pseudo-on-shadow-host-2.html: Renamed from LayoutTests/fast/shadow-dom/focus-pseudo-on-shadow-host-2.html.
* web-platform-tests/shadow-dom/focus/focus-pseudo-on-shadow-host-3-expected.xht: Added.
* web-platform-tests/shadow-dom/focus/focus-pseudo-on-shadow-host-3.html: Renamed from LayoutTests/fast/shadow-dom/focus-pseudo-on-shadow-host-3.html.

LayoutTests:

* fast/shadow-dom/focus-pseudo-on-shadow-host-1-expected.html: Removed.
* fast/shadow-dom/focus-pseudo-on-shadow-host-2-expected.html: Removed.
* fast/shadow-dom/focus-pseudo-on-shadow-host-3-expected.html: Removed.
* platform/ios/TestExpectations: Mark the new exported tests as passing.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@271944 268f45cc-cd09-0410-ab3c-d52691b4dbfc
14 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/shadow-dom/focus-pseudo-on-shadow-host-1-expected.html [deleted file]
LayoutTests/fast/shadow-dom/focus-pseudo-on-shadow-host-2-expected.html [deleted file]
LayoutTests/fast/shadow-dom/focus-pseudo-on-shadow-host-3-expected.html [deleted file]
LayoutTests/imported/w3c/ChangeLog
LayoutTests/imported/w3c/web-platform-tests/shadow-dom/focus/focus-pseudo-matches-on-shadow-host-expected.txt [moved from LayoutTests/fast/shadow-dom/focus-pseudo-matches-on-shadow-host-expected.txt with 100% similarity]
LayoutTests/imported/w3c/web-platform-tests/shadow-dom/focus/focus-pseudo-matches-on-shadow-host.html [moved from LayoutTests/fast/shadow-dom/focus-pseudo-matches-on-shadow-host.html with 90% similarity]
LayoutTests/imported/w3c/web-platform-tests/shadow-dom/focus/focus-pseudo-on-shadow-host-1-expected.xht [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/shadow-dom/focus/focus-pseudo-on-shadow-host-1.html [moved from LayoutTests/fast/shadow-dom/focus-pseudo-on-shadow-host-1.html with 73% similarity]
LayoutTests/imported/w3c/web-platform-tests/shadow-dom/focus/focus-pseudo-on-shadow-host-2-expected.xht [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/shadow-dom/focus/focus-pseudo-on-shadow-host-2.html [moved from LayoutTests/fast/shadow-dom/focus-pseudo-on-shadow-host-2.html with 75% similarity]
LayoutTests/imported/w3c/web-platform-tests/shadow-dom/focus/focus-pseudo-on-shadow-host-3-expected.xht [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/shadow-dom/focus/focus-pseudo-on-shadow-host-3.html [moved from LayoutTests/fast/shadow-dom/focus-pseudo-on-shadow-host-3.html with 74% similarity]
LayoutTests/platform/ios/TestExpectations