-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1930866 [wpt PR 49131] - [Headless]: Fix Forced Colors Tests for …
…Headless Shell, a=testonly Automatic update from web-platform-tests [Headless]: Fix Forced Colors Tests for Headless Shell This CL resolves issues with the forced colors mode tests in the headless shell test environment. The errors occurred because the link color in some reference files was not explicitly set to "VisitedText", as is currently done in forced colors mode. Consequently, many actual results did not match the expected results solely due to the link color discrepancy. For more details, refer to this test bucket[1]. Most errors in the Windows scenario should be resolved with this change, except for `forced-colors-mode-03.html`, which requires further restructuring based on recent findings about the test's structure. This will be addressed in a subsequent CL. Failures on MacOS and Linux platforms will also be handled in a subsequent CL. [1]: https://chromium-layout-test-archives.storage.googleapis.com/results.html?json=chromium/ci/win10-wpt-chromium-rel/3919/headless_shell_wpt_tests_include_all%20%28experimental%29/full_results_jsonp.js Bug: 368396826 Change-Id: Ifc925637e0f1438a5241017de7a2f3023380997e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6012900 Reviewed-by: Alison Maher <almahermicrosoft.com> Commit-Queue: Sam Davis Omekara <samomekarajrmicrosoft.com> Cr-Commit-Position: refs/heads/main{#1382010} -- wpt-commits: 2b25844f7ef4ca0940d13daa9502a465b0681c25 wpt-pr: 49131 UltraBlame original commit: e6d8bc782127e72c07ea7c0eafbab27b79b605b8
- Loading branch information
Showing
6 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -232,6 +232,15 @@ | |
Canvas | ||
; | ||
} | ||
# | ||
a | ||
a | ||
{ | ||
color | ||
: | ||
LinkText | ||
; | ||
} | ||
< | ||
/ | ||
style | ||
|
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 |
---|---|---|
|
@@ -54,6 +54,10 @@ | |
: | ||
LinkText | ||
; | ||
color | ||
: | ||
VisitedText | ||
; | ||
} | ||
< | ||
/ | ||
|
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 |
---|---|---|
|
@@ -84,6 +84,10 @@ | |
: | ||
solid | ||
; | ||
color | ||
: | ||
VisitedText | ||
; | ||
} | ||
< | ||
/ | ||
|
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 |
---|---|---|
|
@@ -87,6 +87,10 @@ | |
: | ||
solid | ||
; | ||
color | ||
: | ||
VisitedText | ||
; | ||
} | ||
< | ||
/ | ||
|
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 |
---|---|---|
|
@@ -48,6 +48,10 @@ | |
: | ||
none | ||
; | ||
color | ||
: | ||
VisitedText | ||
; | ||
} | ||
[ | ||
contenteditable | ||
|
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 |
---|---|---|
|
@@ -51,6 +51,10 @@ | |
: | ||
none | ||
; | ||
color | ||
: | ||
VisitedText | ||
; | ||
} | ||
[ | ||
contenteditable | ||
|