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

Unified Diff: LayoutTests/paint/invalidation/spv2/grid-element-change-rows-repaint-expected.html

Issue 1302183007: Convert some text-based-repaint tests for spv2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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: LayoutTests/paint/invalidation/spv2/grid-element-change-rows-repaint-expected.html
diff --git a/LayoutTests/fast/css-grid-layout/grid-element-change-rows-repaint.html b/LayoutTests/paint/invalidation/spv2/grid-element-change-rows-repaint-expected.html
similarity index 61%
copy from LayoutTests/fast/css-grid-layout/grid-element-change-rows-repaint.html
copy to LayoutTests/paint/invalidation/spv2/grid-element-change-rows-repaint-expected.html
index 38a417f53071a0a3dd6209e89b178db7322290ab..e365d6db15c456c533738986ab10691955773a76 100644
--- a/LayoutTests/fast/css-grid-layout/grid-element-change-rows-repaint.html
+++ b/LayoutTests/paint/invalidation/spv2/grid-element-change-rows-repaint-expected.html
@@ -1,15 +1,6 @@
<!DOCTYPE html>
<html>
-<script src="../repaint/resources/text-based-repaint.js"></script>
-<script>
-function repaintTest()
-{
- var gridElement = document.getElementsByClassName("grid")[0];
- gridElement.style.gridTemplateRows = "100px 50px";
-}
-window.addEventListener("load", runRepaintTest, false);
-</script>
-<link href="resources/grid.css" rel="stylesheet">
+<link href="../../../fast/css-grid-layout/resources/grid.css" rel="stylesheet">
<style>
body {
font: 10px/1 Ahem;
@@ -17,7 +8,7 @@ body {
.grid {
width: -webkit-fit-content;
- grid-template-rows: 50px 100px;
+ grid-template-rows: 100px 50px;
grid-template-columns: 100px;
}
.sizedToGridArea {

Powered by Google App Engine
This is Rietveld 408576698