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

Unified Diff: LayoutTests/fast/css/style-scoped/style-scoped-nested-expected.txt

Issue 317143002: Revert of Remove scoped styles. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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: LayoutTests/fast/css/style-scoped/style-scoped-nested-expected.txt
diff --git a/LayoutTests/fast/css/style-scoped/style-scoped-nested-expected.txt b/LayoutTests/fast/css/style-scoped/style-scoped-nested-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..409bf3a449343c214771a40bb45a67ddd61b551b
--- /dev/null
+++ b/LayoutTests/fast/css/style-scoped/style-scoped-nested-expected.txt
@@ -0,0 +1,13 @@
+Test whether scoped styles are applied in the cascade order or not.
+If this test passes, rules which are declared in descendant scoping element are applied to a target element.
+c.f. https://bugs.webkit.org/show_bug.cgi?id=103239
+Only document.style is applied to the target.
+PASS window.getComputedStyle(target).color is "rgb(255, 0, 0)"
+A new scoped style is inserted into the grandparent node of the target. A class rule in the inserted scoped style wins an id rule in document.style.
+PASS window.getComputedStyle(target).color is "rgb(255, 255, 0)"
+A new scoped style is inserted into the parent node of the target. A tag rule in the inserted scoped style wins an id rule and a class rule in existing styles.
+PASS window.getComputedStyle(target).color is "rgb(0, 0, 255)"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698