Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: static/css/testpages.css

Issue 29865555: Issue 6885 - Indicate the expected outcome of the test pages though CSS (Closed)
Patch Set: Created Aug. 26, 2018, 5:56 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pages/filters/xmlhttprequest.tmpl ('k') | static/testcasefiles/document/stylesheet.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: static/css/testpages.css
===================================================================
--- a/static/css/testpages.css
+++ b/static/css/testpages.css
@@ -180,12 +180,16 @@
vertical-align: top;
height: 35%;
padding: .5rem;
- background-color: red;
float:right;
margin-left: .5rem;
display: table-cell;
}
+img.blocked {
+ padding: .5rem;
+ background-color: red;
+}
+
.testcase-image {
height: 5rem;
}
@@ -221,6 +225,7 @@
margin-top: .5rem;
}
+.testcase-teststylesheet,
#testcase-scripttarget {
padding: .5rem;
}
@@ -276,4 +281,19 @@
width: 75%;
max-width: 900px;
}
-}
+}
+
+.expected .stripes-red,
+.expected .blocked,
+.expected #testcase-output,
+#testcase-output-expected {
+ display: none;
+}
+
+.expected .trap {
+ visibility: hidden;
+}
+
+.expected #testcase-output-expected {
+ display: block;
+}
« no previous file with comments | « pages/filters/xmlhttprequest.tmpl ('k') | static/testcasefiles/document/stylesheet.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld