Index: LayoutTests/fast/css/style-sharing-with-descendant-selectors-expected.html |
diff --git a/LayoutTests/fast/css/style-sharing-with-descendant-selectors-expected.html b/LayoutTests/fast/css/style-sharing-with-descendant-selectors-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c535f38011cc7900df6d5a24c5660423c149ccdb |
--- /dev/null |
+++ b/LayoutTests/fast/css/style-sharing-with-descendant-selectors-expected.html |
@@ -0,0 +1,9 @@ |
+<!DOCTYPE html> |
+<style> |
+div { color: green; } |
+div.red span { color: red; } |
+</style> |
+<body> |
+<p>This test ensures we don't improperly share styles for elements that match different descendant selectors.</p> |
+<div><b><span>This line should be green.</span></b></div> |
+<div class="red"><b><span>This line should be red.</span></b></div> |