3 #target1 { display: initial; color: green; background: initial; }
5 #parent { color: green; }
6 #target2 { display: inherit; color: inherit; background: inherit; }
8 #target3 { display: initial; color: green; background: initial; }
10 #target4 { display: initial; color: initial; background: initial; }
12 #target5 { display: initial; color: green; background: initial; }
14 #target6 { display: initial; color: initial; background: initial; }
16 #target7 { display: initial; direction: rtl; }
18 #target8 { display: initial; direction: rtl; }
20 #parent9 { color: green; }
21 #target9 { display: initial; color: inherit; }
23 <div id='target1'
>green color, no background-color
</div>
26 <div id='target2'
>green color, no background-color
</div>
29 <div id='target3'
>green color
</div>
31 <div id='target4'
>not red color, no background-color
</div>
33 <div id='target5'
>green color, no background-color
</div>
35 <div id='target6'
>not red color
</div>
37 <div id='target7'
>direction is rtl
</div>
39 <div id='target8'
>direction is rtl
</div>
42 <div id='target9'
>green color
</div>