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

Side by Side 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, 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 auto-flow set through CSS
7 PASS window.getComputedStyle(gridAutoFlowColumn, '').getPropertyValue('grid-auto -flow') is 'column' 7 PASS window.getComputedStyle(gridAutoFlowColumn, '').getPropertyValue('grid-auto -flow') is 'column'
8 PASS window.getComputedStyle(gridAutoFlowRow, '').getPropertyValue('grid-auto-fl ow') is 'row' 8 PASS window.getComputedStyle(gridAutoFlowRow, '').getPropertyValue('grid-auto-fl ow') 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'
(...skipping 13 matching lines...) Expand all
24 PASS window.getComputedStyle(gridAutoFlowDenseColumnStack, '').getPropertyValue( 'grid-auto-flow') is 'row' 24 PASS window.getComputedStyle(gridAutoFlowDenseColumnStack, '').getPropertyValue( 'grid-auto-flow') is 'row'
25 PASS window.getComputedStyle(gridAutoFlowDenseRowStack, '').getPropertyValue('gr id-auto-flow') is 'row' 25 PASS window.getComputedStyle(gridAutoFlowDenseRowStack, '').getPropertyValue('gr id-auto-flow') is 'row'
26 PASS window.getComputedStyle(gridAutoFlowStackRowRow, '').getPropertyValue('grid -auto-flow') is 'row' 26 PASS window.getComputedStyle(gridAutoFlowStackRowRow, '').getPropertyValue('grid -auto-flow') is 'row'
27 PASS window.getComputedStyle(gridAutoFlowInherit, '').getPropertyValue('grid-aut o-flow') is 'column' 27 PASS window.getComputedStyle(gridAutoFlowInherit, '').getPropertyValue('grid-aut o-flow') is 'column'
28 PASS window.getComputedStyle(gridAutoFlowNoInherit, '').getPropertyValue('grid-a uto-flow') is 'row' 28 PASS window.getComputedStyle(gridAutoFlowNoInherit, '').getPropertyValue('grid-a uto-flow') is 'row'
29 29
30 Test the initial value 30 Test the initial value
31 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row' 31 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row'
32 32
33 Test getting and setting grid-auto-flow through JS 33 Test getting and setting grid-auto-flow through JS
34 PASS element.style.gridAutoFlow is 'column'
34 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'column' 35 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'column'
36 PASS element.style.gridAutoFlow is 'column dense'
35 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'column dense' 37 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'column dense'
38 PASS element.style.gridAutoFlow is 'row dense'
36 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row dense' 39 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row dense'
40 PASS element.style.gridAutoFlow is 'dense column'
37 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'column dense' 41 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'column dense'
42 PASS element.style.gridAutoFlow is 'dense row'
38 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row dense' 43 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row dense'
44 PASS element.style.gridAutoFlow is 'row'
39 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row' 45 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row'
46 PASS element.style.gridAutoFlow is 'stack'
40 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'stack row' 47 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'stack row'
48 PASS element.style.gridAutoFlow is 'stack column'
41 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'stack column' 49 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'stack column'
50 PASS element.style.gridAutoFlow is 'stack row'
42 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'stack row' 51 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'stack row'
52 PASS element.style.gridAutoFlow is 'column stack'
43 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'stack column' 53 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'stack column'
54 PASS element.style.gridAutoFlow is 'row stack'
44 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'stack row' 55 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'stack row'
45 56
46 Test getting and setting bad values for grid-auto-flow through JS 57 Test getting and setting bad values for grid-auto-flow through JS
58 PASS element.style.gridAutoFlow is ''
47 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row' 59 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row'
60 PASS element.style.gridAutoFlow is ''
48 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row' 61 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row'
62 PASS element.style.gridAutoFlow is ''
49 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row' 63 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row'
64 PASS element.style.gridAutoFlow is ''
50 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row' 65 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row'
66 PASS element.style.gridAutoFlow is ''
51 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row' 67 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row'
68 PASS element.style.gridAutoFlow is ''
52 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row' 69 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row'
53 70
54 Test setting grid-auto-flow to 'initial' through JS 71 Test setting grid-auto-flow to 'initial' through JS
72 PASS element.style.gridAutoFlow is 'initial'
55 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row' 73 PASS window.getComputedStyle(element, '').getPropertyValue('grid-auto-flow') is 'row'
56 PASS successfullyParsed is true 74 PASS successfullyParsed is true
57 75
58 TEST COMPLETE 76 TEST COMPLETE
59 77
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698