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

Unified Diff: LayoutTests/paint/invalidation/spv2/grid-element-change-columns-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-columns-repaint-expected.html
diff --git a/LayoutTests/fast/css-grid-layout/grid-element-change-columns-repaint.html b/LayoutTests/paint/invalidation/spv2/grid-element-change-columns-repaint-expected.html
similarity index 57%
copy from LayoutTests/fast/css-grid-layout/grid-element-change-columns-repaint.html
copy to LayoutTests/paint/invalidation/spv2/grid-element-change-columns-repaint-expected.html
index 2b077aa396816a4d7787cf3eedf7a20a497c9f39..22ebebb6bde62f8bcd1905cde6bb076ee05b19ec 100644
--- a/LayoutTests/fast/css-grid-layout/grid-element-change-columns-repaint.html
+++ b/LayoutTests/paint/invalidation/spv2/grid-element-change-columns-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.gridTemplateColumns = "minmax(50px, 180px) 100px 100px";
-}
-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;
@@ -18,7 +9,7 @@ body {
.grid {
width: -webkit-fit-content;
grid-template-rows: 50px;
- grid-template-columns: minmax(100px, 180px) 100px minmax(50px, 100px);
+ grid-template-columns: minmax(50px, 180px) 100px 100px;
}
.sizedToGridArea {
background-color: purple;

Powered by Google App Engine
This is Rietveld 408576698