dom/imptests/editing/css/reset.css

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

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 /* Make sure various CSS values are what are expected, so that tests work
michael@0 2 * right. */
michael@0 3 body { font-family: serif }
michael@0 4 /* http://www.w3.org/Bugs/Public/show_bug.cgi?id=12154
michael@0 5 * https://bugzilla.mozilla.org/show_bug.cgi?id=589124
michael@0 6 * https://bugs.webkit.org/show_bug.cgi?id=56400 */
michael@0 7 b, strong { font-weight: bold }
michael@0 8 .bold { font-weight: bold }
michael@0 9 .notbold { font-weight: normal }
michael@0 10 .underline { text-decoration: underline }
michael@0 11 .line-through { text-decoration: line-through }
michael@0 12 .underline-and-line-through { text-decoration: underline line-through }
michael@0 13 #purple { color: purple }
michael@0 14 /* https://bugs.webkit.org/show_bug.cgi?id=56670 */
michael@0 15 dfn { font-style: italic }
michael@0 16 /* Opera has weird default blockquote style */
michael@0 17 blockquote { margin: 1em 40px }
michael@0 18 /* Some tests assume links are blue, for the sake of argument, but they aren't
michael@0 19 * blue in any browser. And :visited definitely isn't blue, except in engines
michael@0 20 * like Gecko that lie.
michael@0 21 *
michael@0 22 * This should really be #00e, probably. See:
michael@0 23 * http://www.w3.org/Bugs/Public/show_bug.cgi?id=13330 */
michael@0 24 :link, :visited { color: blue }
michael@0 25 /* http://www.w3.org/Bugs/Public/show_bug.cgi?id=14066
michael@0 26 * https://bugs.webkit.org/show_bug.cgi?id=68392 */
michael@0 27 quasit { text-align: inherit }

mercurial