3 #target1 { color: red; background-color: currentColor; }
4 #target1 { all: initial; }
5 #target1 { color: green; }
7 #parent { color: green; }
8 #target2 { color: red; background-color: currentColor; }
9 #target2 { all: inherit; }
11 #target3 { color: green !important; }
12 #target3 { all: initial; }
14 #target4 { color: red !important; }
15 #target4 { all: initial !important; }
16 #target4 { background-color: red; }
18 #target5 { all: initial !important; }
19 #target5 { background-color: red; }
20 #target5 { color: green !important; }
22 #target6 { all: initial !important; }
23 #target6 { color: red !important; }
24 #target6 { all: initial !important; }
26 #target7 { all: initial !important; }
27 #target7 { direction: rtl; }
29 #target8 { all: initial !important; }
30 #target8 { direction: rtl !important; }
31 #target8 { all: initial !important; }
33 #parent9 { color: green; }
34 #target9 { all: unset; }
36 <!-- Test for crbug.com/172051: all shorthand property -->
37 <div id='target1'
>green color, no background-color
</div>
40 <div id='target2'
>green color, no background-color
</div>
43 <div id='target3'
>green color
</div>
45 <div id='target4'
>not red color, no background-color
</div>
47 <div id='target5'
>green color, no background-color
</div>
49 <div id='target6'
>not red color
</div>
51 <div id='target7'
>direction is rtl
</div>
53 <div id='target8'
>direction is rtl
</div>
56 <div id='target9'
>green color
</div>