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

Side by Side Diff: LayoutTests/fast/css-grid-layout/grid-item-start-before-get-set-expected.txt

Issue 13992003: Add support for parsing <grid-line> that includes a 'span' (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed the change to match the specification Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
1 Test that setting and getting grid-start and grid-before works as expected 1 Test that setting and getting grid-start and grid-before 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 -webkit-grid-start and -webkit-grid-before set through CSS 6 Test getting -webkit-grid-start and -webkit-grid-before set through CSS
7 PASS getComputedStyle(gridElement, '').getPropertyValue('-webkit-grid-start') is 'auto' 7 PASS getComputedStyle(gridElement, '').getPropertyValue('-webkit-grid-start') is 'auto'
8 PASS getComputedStyle(gridElement, '').getPropertyValue('-webkit-grid-column') i s 'auto / auto' 8 PASS getComputedStyle(gridElement, '').getPropertyValue('-webkit-grid-column') i s 'auto / auto'
9 PASS getComputedStyle(gridElement, '').getPropertyValue('-webkit-grid-before') i s 'auto' 9 PASS getComputedStyle(gridElement, '').getPropertyValue('-webkit-grid-before') i s 'auto'
10 PASS getComputedStyle(gridElement, '').getPropertyValue('-webkit-grid-row') is ' auto / auto' 10 PASS getComputedStyle(gridElement, '').getPropertyValue('-webkit-grid-row') is ' auto / auto'
11 PASS getComputedStyle(gridItemWithPositiveInteger, '').getPropertyValue('-webkit -grid-start') is '10' 11 PASS getComputedStyle(gridItemWithPositiveInteger, '').getPropertyValue('-webkit -grid-start') is '10'
12 PASS getComputedStyle(gridItemWithPositiveInteger, '').getPropertyValue('-webkit -grid-column') is '10 / auto' 12 PASS getComputedStyle(gridItemWithPositiveInteger, '').getPropertyValue('-webkit -grid-column') is '10 / auto'
13 PASS getComputedStyle(gridItemWithPositiveInteger, '').getPropertyValue('-webkit -grid-before') is '15' 13 PASS getComputedStyle(gridItemWithPositiveInteger, '').getPropertyValue('-webkit -grid-before') is '15'
14 PASS getComputedStyle(gridItemWithPositiveInteger, '').getPropertyValue('-webkit -grid-row') is '15 / auto' 14 PASS getComputedStyle(gridItemWithPositiveInteger, '').getPropertyValue('-webkit -grid-row') is '15 / auto'
15 PASS getComputedStyle(gridItemWithNegativeInteger, '').getPropertyValue('-webkit -grid-start') is '-10' 15 PASS getComputedStyle(gridItemWithNegativeInteger, '').getPropertyValue('-webkit -grid-start') is '-10'
16 PASS getComputedStyle(gridItemWithNegativeInteger, '').getPropertyValue('-webkit -grid-column') is '-10 / auto' 16 PASS getComputedStyle(gridItemWithNegativeInteger, '').getPropertyValue('-webkit -grid-column') is '-10 / auto'
17 PASS getComputedStyle(gridItemWithNegativeInteger, '').getPropertyValue('-webkit -grid-before') is '-15' 17 PASS getComputedStyle(gridItemWithNegativeInteger, '').getPropertyValue('-webkit -grid-before') is '-15'
18 PASS getComputedStyle(gridItemWithNegativeInteger, '').getPropertyValue('-webkit -grid-row') is '-15 / auto' 18 PASS getComputedStyle(gridItemWithNegativeInteger, '').getPropertyValue('-webkit -grid-row') is '-15 / auto'
19 PASS getComputedStyle(gridItemWithBeforeSpan, '').getPropertyValue('-webkit-grid -start') is 'span 2'
20 PASS getComputedStyle(gridItemWithBeforeSpan, '').getPropertyValue('-webkit-grid -column') is 'span 2 / auto'
21 PASS getComputedStyle(gridItemWithBeforeSpan, '').getPropertyValue('-webkit-grid -before') is 'span 8'
22 PASS getComputedStyle(gridItemWithBeforeSpan, '').getPropertyValue('-webkit-grid -row') is 'span 8 / auto'
23 PASS getComputedStyle(gridItemWithAfterSpan, '').getPropertyValue('-webkit-grid- start') is 'span 2'
24 PASS getComputedStyle(gridItemWithAfterSpan, '').getPropertyValue('-webkit-grid- column') is 'span 2 / auto'
25 PASS getComputedStyle(gridItemWithAfterSpan, '').getPropertyValue('-webkit-grid- before') is 'span 8'
26 PASS getComputedStyle(gridItemWithAfterSpan, '').getPropertyValue('-webkit-grid- row') is 'span 8 / auto'
27 PASS getComputedStyle(gridItemWithOnlySpan, '').getPropertyValue('-webkit-grid-s tart') is 'span 1'
28 PASS getComputedStyle(gridItemWithOnlySpan, '').getPropertyValue('-webkit-grid-c olumn') is 'span 1 / auto'
29 PASS getComputedStyle(gridItemWithOnlySpan, '').getPropertyValue('-webkit-grid-b efore') is 'span 1'
30 PASS getComputedStyle(gridItemWithOnlySpan, '').getPropertyValue('-webkit-grid-r ow') is 'span 1 / auto'
19 PASS getComputedStyle(gridItemWithAutoElement, '').getPropertyValue('-webkit-gri d-start') is 'auto' 31 PASS getComputedStyle(gridItemWithAutoElement, '').getPropertyValue('-webkit-gri d-start') is 'auto'
20 PASS getComputedStyle(gridItemWithAutoElement, '').getPropertyValue('-webkit-gri d-column') is 'auto / auto' 32 PASS getComputedStyle(gridItemWithAutoElement, '').getPropertyValue('-webkit-gri d-column') is 'auto / auto'
21 PASS getComputedStyle(gridItemWithAutoElement, '').getPropertyValue('-webkit-gri d-before') is 'auto' 33 PASS getComputedStyle(gridItemWithAutoElement, '').getPropertyValue('-webkit-gri d-before') is 'auto'
22 PASS getComputedStyle(gridItemWithAutoElement, '').getPropertyValue('-webkit-gri d-row') is 'auto / auto' 34 PASS getComputedStyle(gridItemWithAutoElement, '').getPropertyValue('-webkit-gri d-row') is 'auto / auto'
23 35
24 Test the initial value 36 Test the initial value
25 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-start') is 'au to' 37 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-start') is 'au to'
26 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-column') is 'a uto / auto' 38 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-column') is 'a uto / auto'
27 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-before') is 'a uto' 39 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-before') is 'a uto'
28 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-row') is 'auto / auto' 40 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-row') is 'auto / auto'
29 41
30 Test getting and setting grid-start and grid-before through JS 42 Test getting and setting grid-start and grid-before through JS
31 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-start') is '18 ' 43 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-start') is '18 '
32 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-column') is '1 8 / auto' 44 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-column') is '1 8 / auto'
33 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-before') is '6 6' 45 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-before') is '6 6'
34 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-row') is '66 / auto' 46 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-row') is '66 / auto'
35 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-start') is '-5 5' 47 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-start') is '-5 5'
36 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-column') is '- 55 / auto' 48 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-column') is '- 55 / auto'
37 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-before') is '- 40' 49 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-before') is '- 40'
38 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-row') is '-40 / auto' 50 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-row') is '-40 / auto'
51 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-start') is 'sp an 3'
52 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-column') is 's pan 3 / auto'
53 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-before') is 's pan 20'
54 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-row') is 'span 20 / auto'
39 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-start') is 'au to' 55 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-start') is 'au to'
40 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-column') is 'a uto / auto' 56 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-column') is 'a uto / auto'
41 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-before') is 'a uto' 57 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-before') is 'a uto'
42 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-row') is 'auto / auto' 58 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-row') is 'auto / auto'
43 59
44 Test setting grid-start and grid-before back to 'auto' through JS 60 Test setting grid-start and grid-before back to 'auto' through JS
45 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-start') is '18 ' 61 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-start') is '18 '
46 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-column') is '1 8 / auto' 62 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-column') is '1 8 / auto'
47 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-before') is '6 6' 63 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-before') is '6 6'
48 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-row') is '66 / auto' 64 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-row') is '66 / auto'
49 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-start') is 'au to' 65 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-start') is 'au to'
50 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-column') is 'a uto / auto' 66 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-column') is 'a uto / auto'
51 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-before') is 'a uto' 67 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-before') is 'a uto'
52 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-row') is 'auto / auto' 68 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-row') is 'auto / auto'
53 PASS successfullyParsed is true 69 PASS successfullyParsed is true
54 70
55 TEST COMPLETE 71 TEST COMPLETE
56 72
OLDNEW
« no previous file with comments | « LayoutTests/fast/css-grid-layout/grid-item-start-before-get-set.html ('k') | Source/core/css/CSSComputedStyleDeclaration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698