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 | <!DOCTYPE HTML> |
michael@0 | 2 | <!-- |
michael@0 | 3 | Any copyright is dedicated to the Public Domain. |
michael@0 | 4 | http://creativecommons.org/licenses/publicdomain/ |
michael@0 | 5 | |
michael@0 | 6 | Test: text-overflow:<left> <right> |
michael@0 | 7 | --> |
michael@0 | 8 | <html><head> |
michael@0 | 9 | <title>text-overflow: text-overflow:<left> <right></title> |
michael@0 | 10 | <style type="text/css"> |
michael@0 | 11 | @font-face { |
michael@0 | 12 | font-family: DejaVuSansMono; |
michael@0 | 13 | src: url(../fonts/DejaVuSansMono.woff); |
michael@0 | 14 | } |
michael@0 | 15 | html,body { |
michael@0 | 16 | color:black; background-color:white; font-size:16px; padding:0; margin:0; font-family:DejaVuSansMono; |
michael@0 | 17 | } |
michael@0 | 18 | |
michael@0 | 19 | .test { |
michael@0 | 20 | overflow:hidden; |
michael@0 | 21 | width:100%; |
michael@0 | 22 | white-space:nowrap; |
michael@0 | 23 | } |
michael@0 | 24 | span { |
michael@0 | 25 | margin: 0 -2px; |
michael@0 | 26 | } |
michael@0 | 27 | .rlo { |
michael@0 | 28 | unicode-bidi: bidi-override; direction:rtl; |
michael@0 | 29 | } |
michael@0 | 30 | .lro { |
michael@0 | 31 | unicode-bidi: bidi-override; |
michael@0 | 32 | } |
michael@0 | 33 | .rtl { |
michael@0 | 34 | direction:rtl; |
michael@0 | 35 | } |
michael@0 | 36 | .ltr { |
michael@0 | 37 | direction:ltr; |
michael@0 | 38 | } |
michael@0 | 39 | |
michael@0 | 40 | .t1 { text-overflow:ellipsis ellipsis; } |
michael@0 | 41 | .t2 { text-overflow:ellipsis clip; } |
michael@0 | 42 | .t3 { text-overflow:clip ellipsis; } |
michael@0 | 43 | .t4 { text-overflow:clip "."; } |
michael@0 | 44 | .t5 { text-overflow:"." clip; } |
michael@0 | 45 | .t6 { text-overflow:"." ","; } |
michael@0 | 46 | .t7 { text-overflow:ellipsis ","; } |
michael@0 | 47 | .t8 { text-overflow:"." ellipsis; } |
michael@0 | 48 | |
michael@0 | 49 | </style> |
michael@0 | 50 | |
michael@0 | 51 | </head><body> |
michael@0 | 52 | |
michael@0 | 53 | <div style="float:left;"> |
michael@0 | 54 | ||||| |
michael@0 | 55 | <div class="test t1"><span>||||||</span></div> |
michael@0 | 56 | <div class="test rtl t1"><span>||||||</span></div> |
michael@0 | 57 | <div class="test t2"><span>||||||</span></div> |
michael@0 | 58 | <div class="test rtl t2"><span>||||||</span></div> |
michael@0 | 59 | <div class="test t3"><span>||||||</span></div> |
michael@0 | 60 | <div class="test rtl t3"><span>||||||</span></div> |
michael@0 | 61 | <div class="test t4"><span>||||||</span></div> |
michael@0 | 62 | <div class="test rtl t4"><span>||||||</span></div> |
michael@0 | 63 | <div class="test t5"><span>||||||</span></div> |
michael@0 | 64 | <div class="test rtl t5"><span>||||||</span></div> |
michael@0 | 65 | <div class="test t6"><span>||||||</span></div> |
michael@0 | 66 | <div class="test rtl t6"><span>||||||</span></div> |
michael@0 | 67 | <div class="test t7"><span>||||||</span></div> |
michael@0 | 68 | <div class="test rtl t7"><span>||||||</span></div> |
michael@0 | 69 | <div class="test t8"><span>||||||</span></div> |
michael@0 | 70 | <div class="test rtl t8"><span>||||||</span></div> |
michael@0 | 71 | </div> |
michael@0 | 72 | |
michael@0 | 73 | |
michael@0 | 74 | </body> |
michael@0 | 75 | </html> |