Index: third_party/WebKit/LayoutTests/fast/dom/shadow/apply-deep-in-document-scope.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/apply-deep-in-document-scope.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/apply-deep-in-document-scope.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4421f5e7c16083a43b01374a9eea3183c33e99a5 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/apply-deep-in-document-scope.html |
@@ -0,0 +1,11 @@ |
+<!DOCTYPE html> |
+<script src="../../../resources/js-test.js"></script> |
+<style>div /deep/ #inner { color: green }</style> |
+<div> |
+ <div id="inner">This text should be green</div> |
+</div> |
+<script> |
+ description("/deep/ as a descendant selector in document without shadow trees."); |
+ |
+ shouldBeEqualToString("getComputedStyle(inner).color", "rgb(0, 128, 0)"); |
+</script> |