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.

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

mercurial