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

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

Issue 398013004: [CSS Grid Layout] Small refactoring in grid-auto-flow-get-set.html test (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing Created 6 years, 5 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 unified diff | Download patch
OLDNEW
1 Test that setting and getting grid-auto-flow works as expected 1 Test that setting and getting grid-auto-flow works as expected
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 Test getting auto-flow set through CSS 6 Test getting grid-auto-flow set through CSS
7 PASS window.getComputedStyle(gridAutoFlowColumnSparse, '').getPropertyValue('gri d-auto-flow') is 'column' 7 PASS window.getComputedStyle(gridAutoFlowColumnSparse, '').getPropertyValue('gri d-auto-flow') is 'column'
8 PASS window.getComputedStyle(gridAutoFlowRowSparse, '').getPropertyValue('grid-a uto-flow') is 'row' 8 PASS window.getComputedStyle(gridAutoFlowRowSparse, '').getPropertyValue('grid-a uto-flow') is 'row'
9 PASS window.getComputedStyle(gridAutoFlowColumnDense, '').getPropertyValue('grid -auto-flow') is 'column dense' 9 PASS window.getComputedStyle(gridAutoFlowColumnDense, '').getPropertyValue('grid -auto-flow') is 'column dense'
10 PASS window.getComputedStyle(gridAutoFlowRowDense, '').getPropertyValue('grid-au to-flow') is 'row dense' 10 PASS window.getComputedStyle(gridAutoFlowRowDense, '').getPropertyValue('grid-au to-flow') is 'row dense'
11 PASS window.getComputedStyle(gridAutoFlowDenseColumn, '').getPropertyValue('grid -auto-flow') is 'column dense' 11 PASS window.getComputedStyle(gridAutoFlowDenseColumn, '').getPropertyValue('grid -auto-flow') is 'column dense'
12 PASS window.getComputedStyle(gridAutoFlowDenseRow, '').getPropertyValue('grid-au to-flow') is 'row dense' 12 PASS window.getComputedStyle(gridAutoFlowDenseRow, '').getPropertyValue('grid-au to-flow') is 'row dense'
13 PASS window.getComputedStyle(gridAutoFlowStack, '').getPropertyValue('grid-auto- flow') is 'stack row' 13 PASS window.getComputedStyle(gridAutoFlowStack, '').getPropertyValue('grid-auto- flow') is 'stack row'
14 PASS window.getComputedStyle(gridAutoFlowStackColumn, '').getPropertyValue('grid -auto-flow') is 'stack column' 14 PASS window.getComputedStyle(gridAutoFlowStackColumn, '').getPropertyValue('grid -auto-flow') is 'stack column'
15 PASS window.getComputedStyle(gridAutoFlowStackRow, '').getPropertyValue('grid-au to-flow') is 'stack row' 15 PASS window.getComputedStyle(gridAutoFlowStackRow, '').getPropertyValue('grid-au to-flow') is 'stack row'
16 PASS window.getComputedStyle(gridAutoFlowColumnStack, '').getPropertyValue('grid -auto-flow') is 'stack column' 16 PASS window.getComputedStyle(gridAutoFlowColumnStack, '').getPropertyValue('grid -auto-flow') is 'stack column'
17 PASS window.getComputedStyle(gridAutoFlowRowStack, '').getPropertyValue('grid-au to-flow') is 'stack row' 17 PASS window.getComputedStyle(gridAutoFlowRowStack, '').getPropertyValue('grid-au to-flow') is 'stack row'
18 PASS window.getComputedStyle(gridAutoFlowInherit, '').getPropertyValue('grid-aut o-flow') is 'column'
19 PASS window.getComputedStyle(gridAutoFlowNoInherit, '').getPropertyValue('grid-a uto-flow') is 'row'
20
21 Test getting grid-auto-flow bad values set through CSS
18 PASS window.getComputedStyle(gridAutoFlowNone, '').getPropertyValue('grid-auto-f low') is 'row' 22 PASS window.getComputedStyle(gridAutoFlowNone, '').getPropertyValue('grid-auto-f low') is 'row'
19 PASS window.getComputedStyle(gridAutoFlowColumns, '').getPropertyValue('grid-aut o-flow') is 'row' 23 PASS window.getComputedStyle(gridAutoFlowColumns, '').getPropertyValue('grid-aut o-flow') is 'row'
20 PASS window.getComputedStyle(gridAutoFlowRows, '').getPropertyValue('grid-auto-f low') is 'row' 24 PASS window.getComputedStyle(gridAutoFlowRows, '').getPropertyValue('grid-auto-f low') is 'row'
21 PASS window.getComputedStyle(gridAutoFlowDense, '').getPropertyValue('grid-auto- flow') is 'row' 25 PASS window.getComputedStyle(gridAutoFlowDense, '').getPropertyValue('grid-auto- flow') is 'row'
22 PASS window.getComputedStyle(gridAutoFlowColumnFoo, '').getPropertyValue('grid-a uto-flow') is 'row' 26 PASS window.getComputedStyle(gridAutoFlowColumnFoo, '').getPropertyValue('grid-a uto-flow') is 'row'
23 PASS window.getComputedStyle(gridAutoFlowColumnColumn, '').getPropertyValue('gri d-auto-flow') is 'row' 27 PASS window.getComputedStyle(gridAutoFlowColumnColumn, '').getPropertyValue('gri d-auto-flow') is 'row'
24 PASS window.getComputedStyle(gridAutoFlowDenseColumnStack, '').getPropertyValue( 'grid-auto-flow') is 'row' 28 PASS window.getComputedStyle(gridAutoFlowDenseColumnStack, '').getPropertyValue( 'grid-auto-flow') is 'row'
25 PASS window.getComputedStyle(gridAutoFlowDenseRowStack, '').getPropertyValue('gr id-auto-flow') is 'row' 29 PASS window.getComputedStyle(gridAutoFlowDenseRowStack, '').getPropertyValue('gr id-auto-flow') is 'row'
26 PASS window.getComputedStyle(gridAutoFlowStackRowRow, '').getPropertyValue('grid -auto-flow') is 'row' 30 PASS window.getComputedStyle(gridAutoFlowStackRowRow, '').getPropertyValue('grid -auto-flow') is 'row'
27 PASS window.getComputedStyle(gridAutoFlowInherit, '').getPropertyValue('grid-aut o-flow') is 'column'
28 PASS window.getComputedStyle(gridAutoFlowNoInherit, '').getPropertyValue('grid-a uto-flow') is 'row'
29 31
30 Test the initial value 32 Test the initial value
33 PASS element.style.gridAutoFlow is ''
31 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row' 34 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row'
32
33 Test getting and setting grid-auto-flow through JS 35 Test getting and setting grid-auto-flow through JS
34 PASS element.style.gridAutoFlow is 'column' 36 PASS element.style.gridAutoFlow is 'column'
35 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'column' 37 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'column'
36 PASS element.style.gridAutoFlow is 'column dense' 38 PASS element.style.gridAutoFlow is 'column dense'
37 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'column dense' 39 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'column dense'
38 PASS element.style.gridAutoFlow is 'row dense' 40 PASS element.style.gridAutoFlow is 'row dense'
39 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row dense' 41 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row dense'
40 PASS element.style.gridAutoFlow is 'dense column' 42 PASS element.style.gridAutoFlow is 'dense column'
41 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'column dense' 43 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'column dense'
42 PASS element.style.gridAutoFlow is 'dense row' 44 PASS element.style.gridAutoFlow is 'dense row'
(...skipping 25 matching lines...) Expand all
68 PASS element.style.gridAutoFlow is '' 70 PASS element.style.gridAutoFlow is ''
69 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row' 71 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row'
70 72
71 Test setting grid-auto-flow to 'initial' through JS 73 Test setting grid-auto-flow to 'initial' through JS
72 PASS element.style.gridAutoFlow is 'initial' 74 PASS element.style.gridAutoFlow is 'initial'
73 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row' 75 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row'
74 PASS successfullyParsed is true 76 PASS successfullyParsed is true
75 77
76 TEST COMPLETE 78 TEST COMPLETE
77 79
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698