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

Unified Diff: LayoutTests/fast/css-grid-layout/grid-auto-flow-get-set-expected.txt

Issue 360233002: [CSS Grid Layout] Add element.style coverage for grid-auto-flow (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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/fast/css-grid-layout/grid-auto-flow-get-set-expected.txt
diff --git a/LayoutTests/fast/css-grid-layout/grid-auto-flow-get-set-expected.txt b/LayoutTests/fast/css-grid-layout/grid-auto-flow-get-set-expected.txt
index 20dac4f0923ba2f2686102f16c9367b872a7c57b..b835a0bf18fbbd102c0c8fbf108e03d43f68e2e7 100644
--- a/LayoutTests/fast/css-grid-layout/grid-auto-flow-get-set-expected.txt
+++ b/LayoutTests/fast/css-grid-layout/grid-auto-flow-get-set-expected.txt
@@ -31,27 +31,45 @@ Test the initial value
PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row'
Test getting and setting grid-auto-flow through JS
+PASS element.style.gridAutoFlow is 'column'
PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'column'
+PASS element.style.gridAutoFlow is 'column dense'
PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'column dense'
+PASS element.style.gridAutoFlow is 'row dense'
PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row dense'
+PASS element.style.gridAutoFlow is 'dense column'
PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'column dense'
+PASS element.style.gridAutoFlow is 'dense row'
PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row dense'
+PASS element.style.gridAutoFlow is 'row'
PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row'
+PASS element.style.gridAutoFlow is 'stack'
PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'stack row'
+PASS element.style.gridAutoFlow is 'stack column'
PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'stack column'
+PASS element.style.gridAutoFlow is 'stack row'
PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'stack row'
+PASS element.style.gridAutoFlow is 'column stack'
PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'stack column'
+PASS element.style.gridAutoFlow is 'row stack'
PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'stack row'
Test getting and setting bad values for grid-auto-flow through JS
+PASS element.style.gridAutoFlow is ''
PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row'
+PASS element.style.gridAutoFlow is ''
PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row'
+PASS element.style.gridAutoFlow is ''
PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row'
+PASS element.style.gridAutoFlow is ''
PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row'
+PASS element.style.gridAutoFlow is ''
PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row'
+PASS element.style.gridAutoFlow is ''
PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row'
Test setting grid-auto-flow to 'initial' through JS
+PASS element.style.gridAutoFlow is 'initial'
PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row'
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698