layout/reftests/css-invalid/textarea/style.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 /* Override default style */
     2 textarea:invalid {
     3   box-shadow: none;
     4 }
     6 textarea.notinvalid {
     7   background-color: green;
     8 }
     9 textarea.notinvalid:invalid {
    10   background-color: red;
    11 }
    13 textarea.invalid {
    14   background-color: red;
    15 }
    16 textarea.invalid:invalid {
    17   background-color: green;
    18 }

mercurial