Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(514)

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/apply-deep-in-document-scope.html

Issue 1853713002: Fixed ::slotted performance in pure v1 shadow documents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missing Member<> in HeapVector template Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698