TODO: implement skipping from TestController
This commit is contained in:
@@ -13,8 +13,33 @@ details.test-node {
|
||||
> summary {
|
||||
cursor: pointer;
|
||||
}
|
||||
&.success > summary::marker {
|
||||
/*
|
||||
* WebKit only supports color and font-size properties in ::marker, and
|
||||
* its ::-webkit-details-marker doesn't seem to work whatsoever; thus,
|
||||
* set a color as a fallback: while it may be confusing for colorblind
|
||||
* individuals, it's better than no indication of a test's state.
|
||||
* See: https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/::marker#browser_compatibility
|
||||
*/
|
||||
color: black;
|
||||
content: url("/static/success-closed.svg");
|
||||
}
|
||||
&.success[open] > summary::marker {
|
||||
content: url("/static/success-open.svg");
|
||||
}
|
||||
&.failure > summary::marker {
|
||||
color: red;
|
||||
content: url("/static/failure-closed.svg");
|
||||
}
|
||||
&.failure[open] > summary::marker {
|
||||
content: url("/static/failure-open.svg");
|
||||
}
|
||||
&.skip > summary::marker {
|
||||
color: blue;
|
||||
content: url("/static/skip-closed.svg");
|
||||
}
|
||||
&.skip[open] > summary::marker {
|
||||
content: url("/static/skip-open.svg");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,6 +51,10 @@ p.test-desc {
|
||||
}
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.italic {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user