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