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

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

Issue 18532004: Implement 'grid-template' parsing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaselined and updated after Ojan's and Elliott's comments Created 7 years, 4 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
(Empty)
1 This test checks that grid-template is properly parsed.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 Test getting grid-template set through CSS.
7 PASS window.getComputedStyle(gridWithDefaultTemplate).getPropertyValue('grid-tem plate') is "none"
8 PASS window.getComputedStyle(gridWithSingleStringTemplate).getPropertyValue('gri d-template') is "'area'"
9 PASS window.getComputedStyle(gridWithTwoColumnsTemplate).getPropertyValue('grid- template') is "'first second'"
10 PASS window.getComputedStyle(gridWithTwoRowsTemplate).getPropertyValue('grid-tem plate') is "'first' 'second'"
11 PASS window.getComputedStyle(gridWithSpanningColumnsTemplate).getPropertyValue(' grid-template') is "'span span'"
12 PASS window.getComputedStyle(gridWithSpanningRowsDotTemplate).getPropertyValue(' grid-template') is "'span' '.'"
13 PASS window.getComputedStyle(gridWithDotColumn).getPropertyValue('grid-template' ) is "'header .' 'footer .'"
14 Test grid-template: initial
15 PASS window.getComputedStyle(element).getPropertyValue('grid-template') is "'foo bar'"
16 Test grid-template: inherit
17 PASS window.getComputedStyle(parentElement).getPropertyValue('grid-template') is "'foo bar'"
18 PASS window.getComputedStyle(element).getPropertyValue('grid-template') is "'foo bar'"
19 Test invalid grid-template values.
20 PASS window.getComputedStyle(element).getPropertyValue('grid-template') is "none "
21 PASS window.getComputedStyle(element).getPropertyValue('grid-template') is "none "
22 PASS window.getComputedStyle(element).getPropertyValue('grid-template') is "none "
23 PASS window.getComputedStyle(element).getPropertyValue('grid-template') is "none "
24 PASS window.getComputedStyle(element).getPropertyValue('grid-template') is "none "
25
26 FIXME: We currently don't validate that the named grid areas are <indent>.
27 FAIL window.getComputedStyle(element).getPropertyValue('grid-template') should b e none. Was 'nav-up'.
28 PASS successfullyParsed is true
29
30 TEST COMPLETE
31
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698