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

Side by Side Diff: LayoutTests/fast/alignment/parse-justify-content-expected.txt

Issue 1136283006: [CSS Grid Layout] Avoid using StyleAdjuster to resolve 'auto' values. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed some layout tests failures. Created 5 years, 7 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 justify-content works as expected 1 Test that setting and getting justify-content 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 justify-content set through CSS 6 Test getting justify-content set through CSS
7 PASS getComputedStyle(justifyContentAuto, '').getPropertyValue('justify-content' ) is "start" 7 PASS getComputedStyle(justifyContentAuto, '').getPropertyValue('justify-content' ) is "start"
8 PASS getComputedStyle(justifyContentBaseline, '').getPropertyValue('justify-cont ent') is "baseline" 8 PASS getComputedStyle(justifyContentBaseline, '').getPropertyValue('justify-cont ent') is "baseline"
9 PASS getComputedStyle(justifyContentLastBaseline, '').getPropertyValue('justify- content') is "last-baseline" 9 PASS getComputedStyle(justifyContentLastBaseline, '').getPropertyValue('justify- content') is "last-baseline"
10 PASS getComputedStyle(justifyContentSpaceBetween, '').getPropertyValue('justify- content') is "space-between" 10 PASS getComputedStyle(justifyContentSpaceBetween, '').getPropertyValue('justify- content') is "space-between"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "flex-end safe" 48 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "flex-end safe"
49 PASS element.style.justifyContent is "space-between right safe" 49 PASS element.style.justifyContent is "space-between right safe"
50 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "space-between right safe" 50 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "space-between right safe"
51 PASS element.style.justifyContent is "stretch center" 51 PASS element.style.justifyContent is "stretch center"
52 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "stretch center" 52 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "stretch center"
53 PASS element.style.justifyContent is "right true" 53 PASS element.style.justifyContent is "right true"
54 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "right true" 54 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "right true"
55 PASS element.style.justifyContent is "auto" 55 PASS element.style.justifyContent is "auto"
56 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "start" 56 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "start"
57 PASS element.style.justifyContent is "auto" 57 PASS element.style.justifyContent is "auto"
58 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "flex-start" 58 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "stretch"
59 PASS element.style.justifyContent is "auto" 59 PASS element.style.justifyContent is "auto"
60 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "start" 60 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "start"
61 PASS element.style.justifyContent is "flex-end" 61 PASS element.style.justifyContent is "flex-end"
62 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "flex-end" 62 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "flex-end"
63 63
64 Test bad combinations of justify-content 64 Test bad combinations of justify-content
65 PASS element.style.justifyContent is "" 65 PASS element.style.justifyContent is ""
66 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "start" 66 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "start"
67 PASS element.style.justifyContent is "" 67 PASS element.style.justifyContent is ""
68 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "start" 68 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "start"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 Test the value 'initial' for grid containers 114 Test the value 'initial' for grid containers
115 PASS element.style.justifyContent is "space-between left" 115 PASS element.style.justifyContent is "space-between left"
116 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "space-between left" 116 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "space-between left"
117 PASS element.style.justifyContent is "initial" 117 PASS element.style.justifyContent is "initial"
118 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "start" 118 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "start"
119 119
120 Test the value 'initial' for flex containers 120 Test the value 'initial' for flex containers
121 PASS element.style.justifyContent is "right true" 121 PASS element.style.justifyContent is "right true"
122 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "right true" 122 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "right true"
123 PASS element.style.justifyContent is "initial" 123 PASS element.style.justifyContent is "initial"
124 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "flex-start" 124 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "stretch"
125 125
126 Test the value 'inherit' 126 Test the value 'inherit'
127 PASS element.style.justifyContent is "end" 127 PASS element.style.justifyContent is "end"
128 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "end" 128 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "end"
129 PASS element.style.justifyContent is "inherit" 129 PASS element.style.justifyContent is "inherit"
130 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "end" 130 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "end"
131 PASS element.style.justifyContent is "left safe" 131 PASS element.style.justifyContent is "left safe"
132 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "left safe" 132 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "left safe"
133 PASS element.style.justifyContent is "inherit" 133 PASS element.style.justifyContent is "inherit"
134 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "left safe" 134 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "left safe"
135 PASS element.style.justifyContent is "stretch center" 135 PASS element.style.justifyContent is "stretch center"
136 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "stretch center" 136 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "stretch center"
137 PASS element.style.justifyContent is "inherit" 137 PASS element.style.justifyContent is "inherit"
138 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "stretch center" 138 PASS window.getComputedStyle(element, '').getPropertyValue('justify-content') is "stretch center"
139 PASS successfullyParsed is true 139 PASS successfullyParsed is true
140 140
141 TEST COMPLETE 141 TEST COMPLETE
142 142
OLDNEW
« no previous file with comments | « LayoutTests/fast/alignment/parse-justify-content.html ('k') | LayoutTests/fast/alignment/parse-justify-items.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698