OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <style> | |
3 div { color: green; } | |
4 div.red span { color: red; } | |
5 </style> | |
6 <body> | |
7 <p>This test ensures we don't improperly share styles for elements that match di fferent descendant selectors.</p> | |
8 <div><b><span>This line should be green.</span></b></div> | |
9 <div class="red"><b><span>This line should be red.</span></b></div> | |
OLD | NEW |