Tue, 06 Jan 2015 21:39:09 +0100
Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
michael@0 | 1 | html { |
michael@0 | 2 | font-family:DejaVu Sans, Bitstream Vera Sans, Arial, Sans; |
michael@0 | 3 | } |
michael@0 | 4 | |
michael@0 | 5 | #log .warning, |
michael@0 | 6 | #log .warning a { |
michael@0 | 7 | color: black; |
michael@0 | 8 | background: yellow; |
michael@0 | 9 | } |
michael@0 | 10 | |
michael@0 | 11 | #log .error, |
michael@0 | 12 | #log .error a { |
michael@0 | 13 | color: white; |
michael@0 | 14 | background: red; |
michael@0 | 15 | } |
michael@0 | 16 | |
michael@0 | 17 | #log pre { |
michael@0 | 18 | border: 1px solid black; |
michael@0 | 19 | padding: 1em; |
michael@0 | 20 | } |
michael@0 | 21 | |
michael@0 | 22 | section#summary { |
michael@0 | 23 | margin-bottom:1em; |
michael@0 | 24 | } |
michael@0 | 25 | |
michael@0 | 26 | table#results { |
michael@0 | 27 | border-collapse:collapse; |
michael@0 | 28 | table-layout:fixed; |
michael@0 | 29 | width:100%; |
michael@0 | 30 | } |
michael@0 | 31 | |
michael@0 | 32 | table#results th:first-child, |
michael@0 | 33 | table#results td:first-child { |
michael@0 | 34 | width:4em; |
michael@0 | 35 | } |
michael@0 | 36 | |
michael@0 | 37 | table#results th:last-child, |
michael@0 | 38 | table#results td:last-child { |
michael@0 | 39 | width:50%; |
michael@0 | 40 | } |
michael@0 | 41 | |
michael@0 | 42 | table#results.assertions th:last-child, |
michael@0 | 43 | table#results.assertions td:last-child { |
michael@0 | 44 | width:35%; |
michael@0 | 45 | } |
michael@0 | 46 | |
michael@0 | 47 | table#results th { |
michael@0 | 48 | padding:0; |
michael@0 | 49 | padding-bottom:0.5em; |
michael@0 | 50 | border-bottom:medium solid black; |
michael@0 | 51 | } |
michael@0 | 52 | |
michael@0 | 53 | table#results td { |
michael@0 | 54 | padding:1em; |
michael@0 | 55 | padding-bottom:0.5em; |
michael@0 | 56 | border-bottom:thin solid black; |
michael@0 | 57 | } |
michael@0 | 58 | |
michael@0 | 59 | tr.pass > td:first-child { |
michael@0 | 60 | color:green; |
michael@0 | 61 | } |
michael@0 | 62 | |
michael@0 | 63 | tr.fail > td:first-child { |
michael@0 | 64 | color:red; |
michael@0 | 65 | } |
michael@0 | 66 | |
michael@0 | 67 | tr.timeout > td:first-child { |
michael@0 | 68 | color:red; |
michael@0 | 69 | } |
michael@0 | 70 | |
michael@0 | 71 | tr.notrun > td:first-child { |
michael@0 | 72 | color:blue; |
michael@0 | 73 | } |
michael@0 | 74 | |
michael@0 | 75 | .pass > td:first-child, .fail > td:first-child, .timeout > td:first-child, .notrun > td:first-child { |
michael@0 | 76 | font-variant:small-caps; |
michael@0 | 77 | } |
michael@0 | 78 | |
michael@0 | 79 | table#results span { |
michael@0 | 80 | display:block; |
michael@0 | 81 | } |
michael@0 | 82 | |
michael@0 | 83 | table#results span.expected { |
michael@0 | 84 | font-family:DejaVu Sans Mono, Bitstream Vera Sans Mono, Monospace; |
michael@0 | 85 | white-space:pre; |
michael@0 | 86 | } |
michael@0 | 87 | |
michael@0 | 88 | table#results span.actual { |
michael@0 | 89 | font-family:DejaVu Sans Mono, Bitstream Vera Sans Mono, Monospace; |
michael@0 | 90 | white-space:pre; |
michael@0 | 91 | } |
michael@0 | 92 |