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

Unified Diff: Tools/TestResultServer/static-dashboards/flakiness_dashboard_tests.css

Issue 421853002: Use baked CSS colors instead of opacity for flakiness interpolated results (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/TestResultServer/static-dashboards/flakiness_dashboard_tests.css
diff --git a/Tools/TestResultServer/static-dashboards/flakiness_dashboard_tests.css b/Tools/TestResultServer/static-dashboards/flakiness_dashboard_tests.css
index fb2e428f9b26b72d629f2955a649d6f84b165772..3b320ab4fabf0d67c9376c6265eede038aa49c94 100644
--- a/Tools/TestResultServer/static-dashboards/flakiness_dashboard_tests.css
+++ b/Tools/TestResultServer/static-dashboards/flakiness_dashboard_tests.css
@@ -88,7 +88,7 @@
min-width: .75em;
}
.interpolatedResult {
- opacity: 0.2;
+ color: rgba(0, 0, 0, 0.2);
}
#legend {
position: fixed;
@@ -110,6 +110,49 @@
float: left;
border: 1px solid grey;
}
+
+/*
+These interpolatedResult values are 20% opacity versions of the test results
+below and should be kept in sync. See: crbug.com/397886.
+*/
+.PASS.interpolatedResult {
+ background-color: rgba(51, 255, 51, 0.2);
+}
+.NODATA.interpolatedResult, .NOTRUN.interpolatedResult {
+ background-color: rgba(255, 255, 255, 0.2);
+ color: rgba(187, 187, 187, 0.2);
+}
+.SKIP.interpolatedResult {
+ background-color: rgba(211, 211, 211, 0.2);
+}
+.CRASH.interpolatedResult {
+ background-color: rgba(204, 153, 0, 0.2);
+}
+.TIMEOUT.interpolatedResult {
+ background-color: rgba(255, 252, 108, 0.2);
+}
+.IMAGE.interpolatedResult {
+ background-color: rgba(102, 153, 255, 0.2);
+}
+.FAIL.interpolatedResult, .TEXT.interpolatedResult {
+ background-color: rgba(233, 128, 128, 0.2);
+}
+.MISSING.interpolatedResult {
+ background-color: rgba(138, 119, 0, 0.2);
+}
+.IMAGETEXT.interpolatedResult {
+ background-color: rgba(153, 102, 255, 0.2);
+}
+.AUDIO.interpolatedResult {
+ background-color: rgba(173, 216, 230, 0.2);
+}
+.FLAKY.interpolatedResult {
+ background-color: rgba(64, 224, 208, 0.2);
+}
+.LEAK.interpolatedResult {
+ background-color: rgba(255, 192, 203, 0.2);
+}
+
.PASS {
background-color: #3f3;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698