1 Test for crbug.com/172051: all shorthand property.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS cssRules.length is 18
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 cssRules[11].cssText is "div { all: initial; direction: rtl; }"
34 PASS cssRules[12].cssText is "div { direction: ltr; unicode-bidi: bidi-override; all: initial !important; }"
35 PASS contains(cssRules[13].cssText, "all: initial;") is false
36 PASS contains(cssRules[13].cssText, "-internal-") is false
37 PASS contains(cssRules[13].cssText, "direction: ltr;") is true
38 PASS contains(cssRules[13].cssText, "color: red;") is true
39 PASS contains(cssRules[14].cssText, "all: initial;") is false
40 PASS contains(cssRules[14].cssText, "-internal-") is false
41 PASS contains(cssRules[14].cssText, "font: initial;") is false
42 PASS contains(cssRules[14].cssText, "font-family: initial;") is true
43 PASS contains(cssRules[15].cssText, "all: initial;") is false
44 PASS contains(cssRules[15].cssText, "-internal-") is false
45 PASS contains(cssRules[14].cssText, "font: initial;") is false
46 PASS contains(cssRules[14].cssText, "marker: initial;") is false
47 PASS contains(cssRules[15].cssText, "width: inherit;") is true
48 PASS contains(cssRules[15].cssText, "min-width: initial;") is true
49 PASS contains(cssRules[15].cssText, "max-width: initial;") is true
50 PASS contains(cssRules[15].cssText, "marker-start: initial;") is true
51 PASS contains(cssRules[15].cssText, "marker-mid: initial;") is true
52 PASS contains(cssRules[15].cssText, "marker-end: initial;") is true
53 PASS cssRules[16].cssText is "div { all: unset; }"
54 PASS contains(cssRules[17].cssText, "all: unset;") is false
55 PASS contains(cssRules[17].cssText, "color: red;") is true
56 PASS contains(cssRules[17].cssText, "display: unset;") is true
57 PASS successfullyParsed is true