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.
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 /* ===== numberbox.css ==================================================
6 == Styles used by the XUL textbox type="number" element.
7 ======================================================================= */
9 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
10 @namespace html url("http://www.w3.org/1999/xhtml");
12 textbox[type="number"] {
13 -moz-appearance: none;
14 padding: 0 !important;
15 border: none;
16 cursor: default;
17 background-color: transparent;
18 }
20 html|*.numberbox-input {
21 text-align: right;
22 }
24 .numberbox-input-box {
25 -moz-box-align: center;
26 -moz-appearance: spinner-textfield;
27 margin-right: -1px;
28 border: 2px solid;
29 -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
30 -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow;
31 -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
32 -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
33 padding: 3px 4px;
34 }
36 textbox[hidespinbuttons="true"] > .numberbox-input-box {
37 -moz-appearance: textfield;
38 }