forked from Pissandshittium/pissandshittium
-
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.
[Controls Refresh] Implement test coverage for dark mode scrollbars a…
…re not dynamically updated bugfix Due to time constraints, the following CL was landed without full test coverage: https://chromium-review.googlesource.com/c/chromium/src/+/2522563/7 This CL adds proper test coverage for the change. Bug: 1148004 Change-Id: I693c7dcb3d1d9c250e730eba1f63212f9caf4349 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2564600 Commit-Queue: Sam Sebree <sasebree@microsoft.com> Reviewed-by: Kent Tamura <tkent@chromium.org> Reviewed-by: Mason Freed <masonfreed@chromium.org> Cr-Commit-Position: refs/heads/master@{#832298}
- Loading branch information
Sam Sebree
authored and
Chromium LUCI CQ
committed
Dec 1, 2020
1 parent
2b73e0d
commit 50d9048
Showing
22 changed files
with
39 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
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
25 changes: 25 additions & 0 deletions
25
..._party/blink/web_tests/fast/forms/color-scheme/scrollbar/dynamic-color-scheme-change.html
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!DOCTYPE html> | ||
|
||
<head> | ||
<meta name="color-scheme" content="light dark"> | ||
<script src="../../../../resources/run-after-layout-and-paint.js"></script> | ||
<script> | ||
|
||
function endTest() { | ||
if (window.testRunner) | ||
testRunner.notifyDone(); | ||
} | ||
|
||
function doTest() { | ||
window.internals.setForcedColorsAndDarkPreferredColorScheme(document); | ||
runAfterLayoutAndPaint(endTest); | ||
} | ||
|
||
runAfterLayoutAndPaint(doTest); | ||
|
||
if (window.testRunner) | ||
testRunner.waitUntilDone(); | ||
</script> | ||
</head> | ||
|
||
<body style='height:5000px; width:5000px'></body> |
Binary file added
BIN
+2.98 KB
...h-hc/fast/forms/color-scheme/scrollbar/dynamic-color-scheme-change-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.97 KB
...heme/fast/forms/color-scheme/scrollbar/dynamic-color-scheme-change-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.04 KB
...h-hc/fast/forms/color-scheme/scrollbar/dynamic-color-scheme-change-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.16 KB
...heme/fast/forms/color-scheme/scrollbar/dynamic-color-scheme-change-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.04 KB
...h-hc/fast/forms/color-scheme/scrollbar/dynamic-color-scheme-change-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.16 KB
...heme/fast/forms/color-scheme/scrollbar/dynamic-color-scheme-change-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.04 KB
...h-hc/fast/forms/color-scheme/scrollbar/dynamic-color-scheme-change-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.16 KB
...heme/fast/forms/color-scheme/scrollbar/dynamic-color-scheme-change-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.04 KB
...h-hc/fast/forms/color-scheme/scrollbar/dynamic-color-scheme-change-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.16 KB
...heme/fast/forms/color-scheme/scrollbar/dynamic-color-scheme-change-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.04 KB
.../mac/fast/forms/color-scheme/scrollbar/dynamic-color-scheme-change-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.04 KB
...h-hc/fast/forms/color-scheme/scrollbar/dynamic-color-scheme-change-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.16 KB
...heme/fast/forms/color-scheme/scrollbar/dynamic-color-scheme-change-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.99 KB
.../win/fast/forms/color-scheme/scrollbar/dynamic-color-scheme-change-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.94 KB
...h-hc/fast/forms/color-scheme/scrollbar/dynamic-color-scheme-change-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.97 KB
...heme/fast/forms/color-scheme/scrollbar/dynamic-color-scheme-change-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.94 KB
...h-hc/fast/forms/color-scheme/scrollbar/dynamic-color-scheme-change-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.97 KB
...heme/fast/forms/color-scheme/scrollbar/dynamic-color-scheme-change-expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.