OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <style> | 2 <style> |
3 #non-composited-pseudo-stacking-context-descendant { | 3 #non-composited-pseudo-stacking-context-descendant { |
4 position: relative; | 4 position: relative; |
5 top: 10px; | 5 top: 10px; |
6 width: 400px; | 6 width: 400px; |
7 background: green; | 7 background: green; |
8 } | 8 } |
9 </style> | 9 </style> |
10 <div id="non-composited-pseudo-stacking-context-descendant"> | 10 <div id="non-composited-pseudo-stacking-context-descendant"> |
11 This test succeed if the text gets repainted with a green background.<br/> | 11 This test succeed if the text gets repainted with a green background.<br/> |
12 The text belongs to a (pseudo) stacking context that is enclosed by a compos
ited | 12 The text belongs to a (pseudo) stacking context that is enclosed by a compos
ited |
13 non-stacking context. Since the parent is not a stacking context, this (pseu
do) | 13 non-stacking context. Since the parent is not a stacking context, this (pseu
do) |
14 stacking context should be painted as a child stacking context of the root. | 14 stacking context should be painted as a child stacking context of the root. |
15 </div> | 15 </div> |
OLD | NEW |