Title: [276297] trunk/LayoutTests
Revision
276297
Author
r...@igalia.com
Date
2021-04-20 03:24:08 -0700 (Tue, 20 Apr 2021)

Log Message

[WPE] Update expectations for 2 :focus-visible tests
https://bugs.webkit.org/show_bug.cgi?id=224808

Unreviewed test gardening.

The failures on these tests are related to the lack of support for <input type="color"> in WPE.


* platform/wpe/TestExpectations:
* platform/wpe/imported/w3c/web-platform-tests/css/selectors/focus-visible-003-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/css/selectors/focus-visible-004-expected.txt: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (276296 => 276297)


--- trunk/LayoutTests/ChangeLog	2021-04-20 10:19:21 UTC (rev 276296)
+++ trunk/LayoutTests/ChangeLog	2021-04-20 10:24:08 UTC (rev 276297)
@@ -1,3 +1,16 @@
+2021-04-20  Manuel Rego Casasnovas  <r...@igalia.com>
+
+        [WPE] Update expectations for 2 :focus-visible tests
+        https://bugs.webkit.org/show_bug.cgi?id=224808
+
+        Unreviewed test gardening.
+
+        The failures on these tests are related to the lack of support for <input type="color"> in WPE.
+
+        * platform/wpe/TestExpectations:
+        * platform/wpe/imported/w3c/web-platform-tests/css/selectors/focus-visible-003-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/css/selectors/focus-visible-004-expected.txt: Added.
+
 2021-04-20  Cathie Chen  <cathiec...@igalia.com>
 
         Update html/rendering/replaced-elements/attributes-for-embedded-content-and-images/ tests from WPT

Modified: trunk/LayoutTests/platform/wpe/TestExpectations (276296 => 276297)


--- trunk/LayoutTests/platform/wpe/TestExpectations	2021-04-20 10:19:21 UTC (rev 276296)
+++ trunk/LayoutTests/platform/wpe/TestExpectations	2021-04-20 10:24:08 UTC (rev 276297)
@@ -1463,10 +1463,6 @@
 Bug(WPE) media/media-playback-page-visibility.html [ Timeout ]
 Bug(WPE) media/video-canvas-createPattern.html [ Failure ]
 
-# Failing after r273812.
-webkit.org/b/185859 imported/w3c/web-platform-tests/css/selectors/focus-visible-003.html [ Failure ]
-webkit.org/b/185859 imported/w3c/web-platform-tests/css/selectors/focus-visible-004.html [ Failure ]
-
 #////////////////////////////////////////////////////////////////////////////////////////
 # UNSORTED Expectations. When in doubt, put it here.
 #////////////////////////////////////////////////////////////////////////////////////////

Added: trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/css/selectors/focus-visible-003-expected.txt (0 => 276297)


--- trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/css/selectors/focus-visible-003-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/css/selectors/focus-visible-003-expected.txt	2021-04-20 10:24:08 UTC (rev 276297)
@@ -0,0 +1,32 @@
+This test checks that :focus-visible is not triggered by mouse focus on <input> elements which do not take text input.
+If the user-agent does not claim to support the :focus-visible pseudo-class then SKIP this test.
+Click each element element below to focus it.
+If the element has a red outline, then the test result is FAILURE. If the element has a green background, then the test result is SUCCESS.
+
+Focus me
+Focus me
+Focus me
+Focus me
+
+
+
+
+ Focus me.
+ Focus me.
+
+ Focus me.
+ Focus me.
+
+PASS Focus element SPAN#el-1 via mouse should NOT match :focus-visible as it does NOT support keyboard input
+PASS Focus element SPAN#el-2 via mouse should NOT match :focus-visible as it does NOT support keyboard input
+PASS Focus element SPAN#el-3 via mouse should NOT match :focus-visible as it does NOT support keyboard input
+PASS Focus element BUTTON#el-4 via mouse should NOT match :focus-visible as it does NOT support keyboard input
+PASS Focus element INPUT#el-5 via mouse should NOT match :focus-visible as it does NOT support keyboard input
+PASS Focus element INPUT#el-6 via mouse should NOT match :focus-visible as it does NOT support keyboard input
+PASS Focus element INPUT#el-7 via mouse should NOT match :focus-visible as it does NOT support keyboard input
+PASS Focus element INPUT#el-8 via mouse should NOT match :focus-visible as it does NOT support keyboard input
+PASS Focus element INPUT#el-9 via mouse should NOT match :focus-visible as it does NOT support keyboard input
+PASS Focus element INPUT#el-10 via mouse should NOT match :focus-visible as it does NOT support keyboard input
+PASS Focus element INPUT#el-12 via mouse should NOT match :focus-visible as it does NOT support keyboard input
+FAIL Focus element INPUT#el-13 via mouse should NOT match :focus-visible as it does NOT support keyboard input assert_equals: backgroundColor for INPUT#el-13 should be lime expected "rgb(0, 255, 0)" but got "rgb(255, 255, 255)"
+

Added: trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/css/selectors/focus-visible-004-expected.txt (0 => 276297)


--- trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/css/selectors/focus-visible-004-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/css/selectors/focus-visible-004-expected.txt	2021-04-20 10:24:08 UTC (rev 276297)
@@ -0,0 +1,28 @@
+This test checks that :focus-visible is not triggered by mouse focus on <input> elements which do not take text input, even if appearance: none is used.
+If the user-agent does not claim to support the :focus-visible pseudo-class then SKIP this test.
+Click each element element below to focus it.
+If the element has a red outline, then the test result is FAILURE. If the element has a green background, then the test result is SUCCESS.
+
+Focus me
+Focus me
+Focus me
+Focus me
+
+
+
+
+
+ Focus me.
+ Focus me.
+
+PASS Focus element SPAN#el-1 via mouse should NOT match :focus-visible as it does NOT support keyboard input - not affected by "appearance: none"
+PASS Focus element SPAN#el-2 via mouse should NOT match :focus-visible as it does NOT support keyboard input - not affected by "appearance: none"
+PASS Focus element SPAN#el-3 via mouse should NOT match :focus-visible as it does NOT support keyboard input - not affected by "appearance: none"
+PASS Focus element BUTTON#el-4 via mouse should NOT match :focus-visible as it does NOT support keyboard input - not affected by "appearance: none"
+PASS Focus element INPUT#el-5 via mouse should NOT match :focus-visible as it does NOT support keyboard input - not affected by "appearance: none"
+PASS Focus element INPUT#el-6 via mouse should NOT match :focus-visible as it does NOT support keyboard input - not affected by "appearance: none"
+PASS Focus element INPUT#el-7 via mouse should NOT match :focus-visible as it does NOT support keyboard input - not affected by "appearance: none"
+PASS Focus element INPUT#el-8 via mouse should NOT match :focus-visible as it does NOT support keyboard input - not affected by "appearance: none"
+PASS Focus element INPUT#el-10 via mouse should NOT match :focus-visible as it does NOT support keyboard input - not affected by "appearance: none"
+FAIL Focus element INPUT#el-11 via mouse should NOT match :focus-visible as it does NOT support keyboard input - not affected by "appearance: none" assert_equals: backgroundColor for INPUT#el-11 should be lime expected "rgb(0, 255, 0)" but got "rgb(255, 255, 255)"
+
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to