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: Marker should have text-shadow applied to it |
michael@0 | 7 | --> |
michael@0 | 8 | <html> |
michael@0 | 9 | <head> |
michael@0 | 10 | <meta http-equiv="content-type" content="text/html; charset=UTF-8"> |
michael@0 | 11 | <style type="text/css"> |
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 | |
michael@0 | 17 | /* overflow:hidden will clip off some of our text-shadow too. |
michael@0 | 18 | Give us some padding, so we can put the shadow to the left and bottom |
michael@0 | 19 | and beat the overflow clipping. */ |
michael@0 | 20 | div { |
michael@0 | 21 | font-family: DejaVuSansMono; |
michael@0 | 22 | width: 5em; |
michael@0 | 23 | padding-left: 1em; |
michael@0 | 24 | padding-bottom: 1em; |
michael@0 | 25 | overflow: hidden; |
michael@0 | 26 | white-space: nowrap; |
michael@0 | 27 | text-overflow: "..."; |
michael@0 | 28 | text-shadow: -0.5em 3px 2px red; |
michael@0 | 29 | } |
michael@0 | 30 | </style> |
michael@0 | 31 | </head> |
michael@0 | 32 | <body> |
michael@0 | 33 | |
michael@0 | 34 | <div>HelloKitty</div> |
michael@0 | 35 | |
michael@0 | 36 | </body> |
michael@0 | 37 | </html> |