OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <script src="../../resources/js-test.js"></script> | 2 <script src="../../resources/js-test.js"></script> |
3 <style> | 3 <style> |
4 div { all: initial; } | 4 div { all: initial; } |
5 div { all: initial; color: red; } | 5 div { all: initial; color: red; } |
6 div { color: red; all: initial; } | 6 div { color: red; all: initial; } |
7 div { all: initial !important; color: red; } | 7 div { all: initial !important; color: red; } |
8 div { all: initial; color: red !important; } | 8 div { all: initial; color: red !important; } |
9 | 9 |
10 div { all: inherit; } | 10 div { all: inherit; } |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 shouldBeTrue('contains(cssRules[15].cssText, "width: inherit;")'); | 86 shouldBeTrue('contains(cssRules[15].cssText, "width: inherit;")'); |
87 shouldBeTrue('contains(cssRules[15].cssText, "min-width: initial;")'); | 87 shouldBeTrue('contains(cssRules[15].cssText, "min-width: initial;")'); |
88 shouldBeTrue('contains(cssRules[15].cssText, "max-width: initial;")'); | 88 shouldBeTrue('contains(cssRules[15].cssText, "max-width: initial;")'); |
89 shouldBeTrue('contains(cssRules[15].cssText, "marker-start: initial;")'); | 89 shouldBeTrue('contains(cssRules[15].cssText, "marker-start: initial;")'); |
90 shouldBeTrue('contains(cssRules[15].cssText, "marker-mid: initial;")'); | 90 shouldBeTrue('contains(cssRules[15].cssText, "marker-mid: initial;")'); |
91 shouldBeTrue('contains(cssRules[15].cssText, "marker-end: initial;")'); | 91 shouldBeTrue('contains(cssRules[15].cssText, "marker-end: initial;")'); |
92 | 92 |
93 shouldBe('cssRules[16].cssText', '"div { all: unset; }"'); | 93 shouldBe('cssRules[16].cssText', '"div { all: unset; }"'); |
94 shouldBeFalse('contains(cssRules[17].cssText, "all: unset;")'); | 94 shouldBeFalse('contains(cssRules[17].cssText, "all: unset;")'); |
95 shouldBeTrue('contains(cssRules[17].cssText, "color: red;")'); | 95 shouldBeTrue('contains(cssRules[17].cssText, "color: red;")'); |
96 <!-- FIXME: when using "all: unset", the all should be expanded to be --> | |
97 <!-- "display: unset; ..." --> | |
98 shouldBeTrue('contains(cssRules[17].cssText, "display: unset;")'); | 96 shouldBeTrue('contains(cssRules[17].cssText, "display: unset;")'); |
99 </script> | 97 </script> |
OLD | NEW |