testharness.css 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. html {
  2. font-family:DejaVu Sans, Bitstream Vera Sans, Arial, Sans;
  3. }
  4. #log .warning,
  5. #log .warning a {
  6. color: black;
  7. background: yellow;
  8. }
  9. #log .error,
  10. #log .error a {
  11. color: white;
  12. background: red;
  13. }
  14. section#summary {
  15. margin-bottom:1em;
  16. }
  17. table#results {
  18. border-collapse:collapse;
  19. table-layout:fixed;
  20. width:100%;
  21. }
  22. table#results th:first-child,
  23. table#results td:first-child {
  24. width:4em;
  25. }
  26. table#results th:last-child,
  27. table#results td:last-child {
  28. width:50%;
  29. }
  30. table#results.assertions th:last-child,
  31. table#results.assertions td:last-child {
  32. width:35%;
  33. }
  34. table#results th {
  35. padding:0;
  36. padding-bottom:0.5em;
  37. border-bottom:medium solid black;
  38. }
  39. table#results td {
  40. padding:1em;
  41. padding-bottom:0.5em;
  42. border-bottom:thin solid black;
  43. }
  44. tr.pass > td:first-child {
  45. color:green;
  46. }
  47. tr.fail > td:first-child {
  48. color:red;
  49. }
  50. tr.timeout > td:first-child {
  51. color:red;
  52. }
  53. tr.notrun > td:first-child {
  54. color:blue;
  55. }
  56. .pass > td:first-child, .fail > td:first-child, .timeout > td:first-child, .notrun > td:first-child {
  57. font-variant:small-caps;
  58. }
  59. table#results span {
  60. display:block;
  61. }
  62. table#results span.expected {
  63. font-family:DejaVu Sans Mono, Bitstream Vera Sans Mono, Monospace;
  64. white-space:pre;
  65. }
  66. table#results span.actual {
  67. font-family:DejaVu Sans Mono, Bitstream Vera Sans Mono, Monospace;
  68. white-space:pre;
  69. }
  70. span.ok {
  71. color:green;
  72. }
  73. tr.error {
  74. color:red;
  75. }
  76. span.timeout {
  77. color:red;
  78. }
  79. span.ok, span.timeout, span.error {
  80. font-variant:small-caps;
  81. }