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 | <!-- |
michael@0 | 2 | Any copyright is dedicated to the Public Domain. |
michael@0 | 3 | http://creativecommons.org/licenses/publicdomain/ |
michael@0 | 4 | --> |
michael@0 | 5 | <html><head> |
michael@0 | 6 | <title>text-overflow: Quirks mode text-decorations</title> |
michael@0 | 7 | <style type="text/css"> |
michael@0 | 8 | @font-face { |
michael@0 | 9 | font-family: Ahem; |
michael@0 | 10 | src: url(../fonts/Ahem.ttf); |
michael@0 | 11 | } |
michael@0 | 12 | @font-face { |
michael@0 | 13 | font-family: DejaVuSansMono; |
michael@0 | 14 | src: url(../fonts/DejaVuSansMono.woff); |
michael@0 | 15 | } |
michael@0 | 16 | html,body { |
michael@0 | 17 | color:black; background-color:white; font-size:16px; padding:0; margin:0; font-family:DejaVuSansMono; |
michael@0 | 18 | } |
michael@0 | 19 | |
michael@0 | 20 | .test { |
michael@0 | 21 | overflow:hidden; |
michael@0 | 22 | float:left; |
michael@0 | 23 | height:2em; |
michael@0 | 24 | white-space:pre; |
michael@0 | 25 | margin-left:1em; |
michael@0 | 26 | margin-bottom:1em; |
michael@0 | 27 | font-size:20px; |
michael@0 | 28 | color:blue; |
michael@0 | 29 | } |
michael@0 | 30 | span { |
michael@0 | 31 | font-size:16px; |
michael@0 | 32 | color:black; |
michael@0 | 33 | } |
michael@0 | 34 | .xspan { |
michael@0 | 35 | text-shadow:0px 1em 2px blue; |
michael@0 | 36 | text-decoration: line-through; |
michael@0 | 37 | } |
michael@0 | 38 | .rtl .xspan { |
michael@0 | 39 | text-shadow:0 1em 0px blue; |
michael@0 | 40 | } |
michael@0 | 41 | .rlo { |
michael@0 | 42 | unicode-bidi: bidi-override; direction:rtl; |
michael@0 | 43 | } |
michael@0 | 44 | .lro { |
michael@0 | 45 | unicode-bidi: bidi-override; |
michael@0 | 46 | } |
michael@0 | 47 | .rtl { |
michael@0 | 48 | direction:rtl; |
michael@0 | 49 | } |
michael@0 | 50 | .ltr { |
michael@0 | 51 | direction:ltr; |
michael@0 | 52 | } |
michael@0 | 53 | .t1 { width:7.3em; } |
michael@0 | 54 | .t2 { width:20px;} |
michael@0 | 55 | .t3 { width:22px;} |
michael@0 | 56 | .t4 { width:1px; font-family:Ahem; } |
michael@0 | 57 | .t3 span {margin-left:14px; } |
michael@0 | 58 | |
michael@0 | 59 | m { font-size:20px; color:blue; } |
michael@0 | 60 | |
michael@0 | 61 | </style> |
michael@0 | 62 | |
michael@0 | 63 | </head><body> |
michael@0 | 64 | |
michael@0 | 65 | <div class="test t1"><span><span class="xspan">0123 56789012</span><m>…</m></span></div> |
michael@0 | 66 | <div class="test rtl t1"><span><span class="xspan">1 56789012345</span><m>…</m></span></div> |
michael@0 | 67 | <div class="test t2"><span class="xspan">xxxx<m>x</m></span></div> |
michael@0 | 68 | <div class="test t3"><span class="xspan">x<m>x</m></span></div> |
michael@0 | 69 | <div class="test t4"><span class="xspan">x<m>x</m></span></div> |
michael@0 | 70 | |
michael@0 | 71 | |
michael@0 | 72 | </body> |
michael@0 | 73 | </html> |