layout/reftests/css-invalid/button/style.css

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     1 /* Override default style */
     2 button:invalid {
     3   box-shadow: none;
     4 }
     6 button.notinvalid {
     7   background-color: green;
     8 }
     9 button.notinvalid:invalid {
    10   background-color: red;
    11 }
    13 button.invalid {
    14   background-color: red;
    15 }
    16 button.invalid:invalid {
    17   background-color: green;
    18 }

mercurial