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

Unified Diff: LayoutTests/inspector-protocol/css/css-set-style-text-expected.txt

Issue 1219713003: DevTools: [regression] compare canonical text when matching styles. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: awesome review comment addressed. Created 5 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/inspector-protocol/css/css-set-style-text-expected.txt
diff --git a/LayoutTests/inspector-protocol/css/css-set-style-text-expected.txt b/LayoutTests/inspector-protocol/css/css-set-style-text-expected.txt
index 7f0dc7b9099b6a875eba138f28941d5f3b911a34..a38b2e616a6110895f63ecb27816fdb051350b78 100644
--- a/LayoutTests/inspector-protocol/css/css-set-style-text-expected.txt
+++ b/LayoutTests/inspector-protocol/css/css-set-style-text-expected.txt
@@ -67,6 +67,155 @@ Dumping matched rules:
}
Dumping inherited rules:
+Running test: testSetStyleTwice
+==== Style sheet text ====
+#test {
+ color: green;
+ padding: 0 4px;
+ cursor: pointer
+}
+
+#test {
+ /* resetting some properties */
+ line-height: 1;
+ font-family: "Arial";
+ color: blue;
+ display: flex; /* flex FTW! */
+}
+
+@media (min-width: 1px) {
+ #test {
+ font-size: 200%;
+ }
+
+ #test {
+ }
+}
+
+
+Dumping matched rules:
+*#test* { regular
+ color: green;
+ padding: 0 4px;
+ cursor: pointer;
+ padding-top: 0px;
+ padding-right: 4px;
+ padding-bottom: 0px;
+ padding-left: 4px;
+}
+*#test* { regular
+ line-height: 1;
+ font-family: "Arial";
+ color: blue;
+ display: flex;
+}
+@media (min-width: 1px)
+ *#test* { regular
+ font-size: 200%;
+ }
+@media (min-width: 1px)
+ *#test* { regular
+ }
+Dumping inherited rules:
+==== Style sheet text ====
+#test {
+ color: green;
+ padding: 0 6px;
+ cursor: pointer
+}
+
+#test {
+ /* resetting some properties */
+ line-height: 1;
+ font-family: "Arial";
+ color: blue;
+ display: flex; /* flex FTW! */
+}
+
+@media (min-width: 1px) {
+ #test {
+ font-size: 200%;
+ }
+
+ #test {
+ }
+}
+
+
+Dumping matched rules:
+*#test* { regular
+ color: green;
+ padding: 0 6px;
+ cursor: pointer;
+ padding-top: 0px;
+ padding-right: 6px;
+ padding-bottom: 0px;
+ padding-left: 6px;
+}
+*#test* { regular
+ line-height: 1;
+ font-family: "Arial";
+ color: blue;
+ display: flex;
+}
+@media (min-width: 1px)
+ *#test* { regular
+ font-size: 200%;
+ }
+@media (min-width: 1px)
+ *#test* { regular
+ }
+Dumping inherited rules:
+==== Style sheet text ====
+#test {
+ color: green;
+ padding: 0 8px;
+ cursor: pointer
+}
+
+#test {
+ /* resetting some properties */
+ line-height: 1;
+ font-family: "Arial";
+ color: blue;
+ display: flex; /* flex FTW! */
+}
+
+@media (min-width: 1px) {
+ #test {
+ font-size: 200%;
+ }
+
+ #test {
+ }
+}
+
+
+Dumping matched rules:
+*#test* { regular
+ color: green;
+ padding: 0 8px;
+ cursor: pointer;
+ padding-top: 0px;
+ padding-right: 8px;
+ padding-bottom: 0px;
+ padding-left: 8px;
+}
+*#test* { regular
+ line-height: 1;
+ font-family: "Arial";
+ color: blue;
+ display: flex;
+}
+@media (min-width: 1px)
+ *#test* { regular
+ font-size: 200%;
+ }
+@media (min-width: 1px)
+ *#test* { regular
+ }
+Dumping inherited rules:
+
Running test: testSetStylePoorContent
Expected protocol error: SyntaxError Style text is not valid.
Dumping matched rules:
« no previous file with comments | « LayoutTests/inspector-protocol/css/css-set-style-text.html ('k') | Source/core/inspector/InspectorStyleSheet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698