Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/scrollbar-damage-and-full-viewport-repaint.html

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
Patch Set: - Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/repaint/scrollbar-damage-and-full-viewport-repaint.html
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/scrollbar-damage-and-full-viewport-repaint.html b/third_party/WebKit/LayoutTests/fast/repaint/scrollbar-damage-and-full-viewport-repaint.html
deleted file mode 100644
index a07e9ba270a7d1bc37f3f179a20bf6d2d65aa903..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/repaint/scrollbar-damage-and-full-viewport-repaint.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE html>
-<style>
-/* To ensure full viewport repaint when viewport is resized. */
-body {
- background-image: linear-gradient(red, blue);
- background-attachment: fixed;
- margin: 0;
-}
-#container {
- width: 200px;
- height: 200px;
- border: 1px solid black;
- overflow: scroll;
-}
-#child {
- width: 100px;
- height: 100px;
-}
-</style>
-<script src="resources/text-based-repaint.js" type="text/javascript"></script>
-<script>
-if (window.testRunner) {
- testRunner.useUnfortunateSynchronousResizeMode();
-}
-function repaintTest() {
- // Invalidation of horizontal scrollbar should be tracked.
- document.getElementById('child').style.width = '2000px';
-}
-window.onload = function() {
- // Trigger a full viewport repaint to test if scrollbar damages are cleared
- // even if we shortcut children invalidations.
- window.resizeTo(1000, 600);
- // Invalidation of vertical scrollbar before the repaint test should not be tracked during repaintTest().
- document.getElementById('child').style.height = '2000px';
- runRepaintAndPixelTest();
-};
-</script>
-<div style="height: 50px">
-Tests if scrollbar damage flag is cleared during a full viewport invalidation.
-Passes if the result repaint rects contain the horizontal scrollbar but not the vertical scrollbar.
-</div>
-<div id="container">
- <div id="child"></div>
-</div>

Powered by Google App Engine
This is Rietveld 408576698