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: visibility:hidden should not trigger text-overflow markers |
michael@0 | 7 | --> |
michael@0 | 8 | <html><head> |
michael@0 | 9 | <title>text-overflow: visibility:hidden</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 | text-overflow:ellipsis; |
michael@0 | 21 | overflow: hidden; |
michael@0 | 22 | white-space: nowrap; |
michael@0 | 23 | background:lime; |
michael@0 | 24 | color: black; |
michael@0 | 25 | width: 50%; |
michael@0 | 26 | } |
michael@0 | 27 | |
michael@0 | 28 | .rtl { |
michael@0 | 29 | direction:rtl; |
michael@0 | 30 | } |
michael@0 | 31 | .rlo { |
michael@0 | 32 | unicode-bidi: bidi-override; direction: rtl; |
michael@0 | 33 | } |
michael@0 | 34 | u { |
michael@0 | 35 | visibility:hidden; |
michael@0 | 36 | padding-left: 3em; |
michael@0 | 37 | background: cyan; |
michael@0 | 38 | } |
michael@0 | 39 | .rtl u {padding-right: 3em; padding-left:0;} |
michael@0 | 40 | s { |
michael@0 | 41 | visibility:visible; |
michael@0 | 42 | } |
michael@0 | 43 | |
michael@0 | 44 | .t1 {width:10em;} |
michael@0 | 45 | .t2 {width:14em;} |
michael@0 | 46 | .t3 {width:13.5em;} |
michael@0 | 47 | .t3 u { padding-right:1em; } |
michael@0 | 48 | .t3.rtl u {padding-left:1em; padding-right: 3em; } |
michael@0 | 49 | .t4 {width:12.5em;} |
michael@0 | 50 | </style> |
michael@0 | 51 | |
michael@0 | 52 | </head><body> |
michael@0 | 53 | |
michael@0 | 54 | <div class="test t2"> |
michael@0 | 55 | CSS is awesome<u></u><br> |
michael@0 | 56 | CSS is awesome<u> <s>x</s> </u> |
michael@0 | 57 | </div> |
michael@0 | 58 | <div class="test t1">CSS is awesome<u></u><br></div> |
michael@0 | 59 | <div class="test t2">CSS is awesome<u> <s>x</s> </u></div> |
michael@0 | 60 | <div class="test t3">CSS is awesome<u> <s>x</s></u></div> |
michael@0 | 61 | <div class="test t4">CSS is awesome<u> <s>x</s></u></div> |
michael@0 | 62 | |
michael@0 | 63 | <div class="rtl"> |
michael@0 | 64 | <div class="test rtl rlo t2"> |
michael@0 | 65 | CSS is awesome<u></u><br> |
michael@0 | 66 | CSS is awesome<u> <s>x</s></u> |
michael@0 | 67 | </div> |
michael@0 | 68 | <div class="test rtl rlo t1">CSS is awesome<u></u><br></div> |
michael@0 | 69 | <div class="test rtl rlo t2">CSS is awesome<u> <s>x</s> </u></div> |
michael@0 | 70 | <div class="test rtl rlo t3">CSS is awesome<u> <s>x</s></u></div> |
michael@0 | 71 | <div class="test rtl rlo t4">CSS is awesome<u> <s>x</s></u></div> |
michael@0 | 72 | </div> |
michael@0 | 73 | |
michael@0 | 74 | </body></html> |