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

Unified Diff: LayoutTests/inspector-protocol/css/css-visited-link-matched-styles-expected.txt

Issue 228673002: DevTools: matched styles respect :visited/:link pseudo classes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add test to verify :host rules Created 6 years, 7 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/inspector-protocol/css/css-visited-link-matched-styles-expected.txt
diff --git a/LayoutTests/inspector-protocol/css/css-visited-link-matched-styles-expected.txt b/LayoutTests/inspector-protocol/css/css-visited-link-matched-styles-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ecc522ec174e0b6e287e8c8c3655d56c85f1ce27
--- /dev/null
+++ b/LayoutTests/inspector-protocol/css/css-visited-link-matched-styles-expected.txt
@@ -0,0 +1,34 @@
+This is visited link
+==== Styles for unvisited link ====
+Dumping matched rules:
+*#redlink* { regular
+ color: gray;
+}
+*#redlink:link* { regular
+ color: blue;
+}
+==== Styles for visited link ====
+Dumping matched rules:
+*#redlink* { regular
+ color: gray;
+}
+*#redlink:visited* { regular
+ color: red;
+}
+==== Styles for unvisited link ====
+Dumping matched rules:
+*.shadow-link* { regular
+ color: lightgray;
+}
+*.shadow-link:link* { regular
+ color: green;
+}
+==== Styles for visited link ====
+Dumping matched rules:
+*.shadow-link* { regular
+ color: lightgray;
+}
+*.shadow-link:visited* { regular
+ color: blue;
+}
+
« no previous file with comments | « LayoutTests/inspector-protocol/css/css-visited-link-matched-styles.html ('k') | Source/core/inspector/InspectorCSSAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698