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: Standards mode line height should not be affected by marker |
michael@0 | 7 | --> |
michael@0 | 8 | <html><head> |
michael@0 | 9 | <title>text-overflow: Standards mode line height</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 | text-overflow:ellipsis; |
michael@0 | 22 | float:left; |
michael@0 | 23 | white-space:pre; |
michael@0 | 24 | margin-left:1em; |
michael@0 | 25 | margin-bottom:1em; |
michael@0 | 26 | font-size:24px; |
michael@0 | 27 | color:blue; |
michael@0 | 28 | border:1px solid black; |
michael@0 | 29 | } |
michael@0 | 30 | span { |
michael@0 | 31 | font-size:16px; |
michael@0 | 32 | color:black; |
michael@0 | 33 | } |
michael@0 | 34 | .rlo { |
michael@0 | 35 | unicode-bidi: bidi-override; direction:rtl; |
michael@0 | 36 | } |
michael@0 | 37 | .lro { |
michael@0 | 38 | unicode-bidi: bidi-override; |
michael@0 | 39 | } |
michael@0 | 40 | .rtl { |
michael@0 | 41 | direction:rtl; |
michael@0 | 42 | } |
michael@0 | 43 | .ltr { |
michael@0 | 44 | direction:ltr; |
michael@0 | 45 | } |
michael@0 | 46 | .t1 { width:4em; } |
michael@0 | 47 | |
michael@0 | 48 | </style> |
michael@0 | 49 | |
michael@0 | 50 | </head><body> |
michael@0 | 51 | |
michael@0 | 52 | <div class="test t1"><span>0123456|890123456789</span></div> |
michael@0 | 53 | <div class="test rtl rlo t1"><span>0123456|89012345</span></div> |
michael@0 | 54 | |
michael@0 | 55 | |
michael@0 | 56 | </body> |
michael@0 | 57 | </html> |