testharness.css 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. #log pre {
  15. border: 1px solid black;
  16. padding: 1em;
  17. }
  18. section#summary {
  19. margin-bottom:1em;
  20. }
  21. table#results {
  22. border-collapse:collapse;
  23. table-layout:fixed;
  24. width:100%;
  25. }
  26. table#results th:first-child,
  27. table#results td:first-child {
  28. width:4em;
  29. }
  30. table#results th:last-child,
  31. table#results td:last-child {
  32. width:50%;
  33. }
  34. table#results.assertions th:last-child,
  35. table#results.assertions td:last-child {
  36. width:35%;
  37. }
  38. table#results th {
  39. padding:0;
  40. padding-bottom:0.5em;
  41. border-bottom:medium solid black;
  42. }
  43. table#results td {
  44. padding:1em;
  45. padding-bottom:0.5em;
  46. border-bottom:thin solid black;
  47. }
  48. tr.pass > td:first-child {
  49. color:green;
  50. }
  51. tr.fail > td:first-child {
  52. color:red;
  53. }
  54. tr.timeout > td:first-child {
  55. color:red;
  56. }
  57. tr.notrun > td:first-child {
  58. color:blue;
  59. }
  60. .pass > td:first-child, .fail > td:first-child, .timeout > td:first-child, .notrun > td:first-child {
  61. font-variant:small-caps;
  62. }
  63. table#results span {
  64. display:block;
  65. }
  66. table#results span.expected {
  67. font-family:DejaVu Sans Mono, Bitstream Vera Sans Mono, Monospace;
  68. white-space:pre;
  69. }
  70. table#results span.actual {
  71. font-family:DejaVu Sans Mono, Bitstream Vera Sans Mono, Monospace;
  72. white-space:pre;
  73. }