summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css-grid-layout/percent-grid-item-in-percent-grid-track-update.html
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/css-grid-layout/percent-grid-item-in-percent-grid-track-update.html')
-rw-r--r--third_party/WebKit/LayoutTests/fast/css-grid-layout/percent-grid-item-in-percent-grid-track-update.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/css-grid-layout/percent-grid-item-in-percent-grid-track-update.html b/third_party/WebKit/LayoutTests/fast/css-grid-layout/percent-grid-item-in-percent-grid-track-update.html
index a53549f..81c2375 100644
--- a/third_party/WebKit/LayoutTests/fast/css-grid-layout/percent-grid-item-in-percent-grid-track-update.html
+++ b/third_party/WebKit/LayoutTests/fast/css-grid-layout/percent-grid-item-in-percent-grid-track-update.html
@@ -7,8 +7,8 @@ if (window.testRunner)
<link href="resources/grid.css" rel="stylesheet">
<style>
.grid {
- grid-definition-columns: 70% 30%;
- grid-definition-rows: 40% 60%;
+ grid-template-columns: 70% 30%;
+ grid-template-rows: 40% 60%;
width: 400px;
height: 300px;
}
@@ -41,12 +41,12 @@ function changeGridDefinitionsAndCheckValues()
var grid1 = document.getElementsByClassName("grid")[1];
var grid2 = document.getElementsByClassName("grid")[2];
document.body.offsetLeft;
- grid0.style.gridDefinitionColumns = "40% 60%";
+ grid0.style.gridTemplateColumns = "40% 60%";
- grid1.style.gridDefinitionRows = "30% 70%";
+ grid1.style.gridTemplateRows = "30% 70%";
- grid2.style.gridDefinitionColumns = "40% 60%";
- grid2.style.gridDefinitionRows = "30% 70%";
+ grid2.style.gridTemplateColumns = "40% 60%";
+ grid2.style.gridTemplateRows = "30% 70%";
checkLayout('.grid');
}