TODO: implement skipping from TestController

This commit is contained in:
Kat
2026-03-20 03:49:44 +11:00
parent 877be3308e
commit 0c4f4e965a
11 changed files with 184 additions and 32 deletions

View File

@@ -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;
}