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

Unified Diff: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-change-column-repaint-expected.html

Issue 1994373002: Convert some repaint tests into ref tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/css-grid-layout/grid-item-change-column-repaint-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-change-column-repaint.html b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-change-column-repaint-expected.html
similarity index 72%
copy from third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-change-column-repaint.html
copy to third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-change-column-repaint-expected.html
index 52bec11557f076e3c434657ca896591cf05c4765..140f3dd7b73f40232c98c211013f3bab0c7b69f1 100644
--- a/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-change-column-repaint.html
+++ b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-change-column-repaint-expected.html
@@ -1,14 +1,5 @@
<!DOCTYPE html>
<html>
-<script src="../repaint/resources/text-based-repaint.js"></script>
-<script>
-function repaintTest()
-{
- var gridItem = document.getElementsByClassName("sizedToGridArea")[0];
- gridItem.style.gridColumn = "3";
-}
-window.addEventListener("load", runRepaintTest, false);
-</script>
<link href="../css-intrinsic-dimensions/resources/width-keyword-classes.css" rel="stylesheet">
<link href="resources/grid.css" rel="stylesheet">
<style>
@@ -22,6 +13,7 @@ body {
}
.sizedToGridArea {
background-color: purple;
+ grid-column: 3;
}
</style>
<body>

Powered by Google App Engine
This is Rietveld 408576698