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

Side by Side Diff: LayoutTests/fast/css/all-shorthand-css-text-expected.txt

Issue 216803002: Implement all shorthand property. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed parseAnimationProperty Created 6 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
(Empty)
1 Test for crbug.com/172051: all shorthand property.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS cssRules.length is 11
7 PASS cssRules[0].cssText is "div { all: initial; }"
8 PASS cssRules[1].cssText is not "div { all: initial; color: red; }"
9 PASS contains(cssRules[1].cssText, "color: red;") is true
10 PASS contains(cssRules[1].cssText, "background: initial;") is true
11 PASS contains(cssRules[1].cssText, "direction: ") is false
12 PASS contains(cssRules[1].cssText, "unicode-bidi: ") is false
13 PASS cssRules[2].cssText is "div { all: initial; }"
14 PASS cssRules[3].cssText is "div { all: initial !important; }"
15 PASS cssRules[4].cssText is not "div { all: initial; color: red !important; }"
16 PASS contains(cssRules[4].cssText, "color: red !important;") is true
17 PASS contains(cssRules[4].cssText, "background: initial;") is true
18 PASS contains(cssRules[4].cssText, "direction: ") is false
19 PASS contains(cssRules[4].cssText, "unicode-bidi: ") is false
20 PASS cssRules[5].cssText is "div { all: inherit; }"
21 PASS cssRules[6].cssText is not "div { all: inherit; color: red; }"
22 PASS contains(cssRules[6].cssText, "color: red;") is true
23 PASS contains(cssRules[6].cssText, "direction: ") is false
24 PASS contains(cssRules[6].cssText, "unicode-bidi: ") is false
25 PASS cssRules[7].cssText is "div { all: inherit; }"
26 PASS cssRules[8].cssText is "div { all: inherit !important; }"
27 PASS cssRules[9].cssText is not "div { all: inherit; color: red !important; }"
28 PASS contains(cssRules[9].cssText, "color: red !important") is true
29 PASS contains(cssRules[9].cssText, "background: inherit;") is true
30 PASS contains(cssRules[9].cssText, "direction: ") is false
31 PASS contains(cssRules[9].cssText, "unicode-bidi: ") is false
32 PASS cssRules[10].cssText is "div { }"
33 PASS successfullyParsed is true
34
35 TEST COMPLETE
36
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698