widget/reftests/progressbar-fallback-default-style.html

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 <!DOCTYPE html>
     2 <html>
     3   <style>
     4     progress { padding: 5px }
     5     body > progress:nth-child(1) { -moz-appearance: none; }
     6     body > progress:nth-child(2)::-moz-progress-bar { -moz-appearance: none; }
     7     body > progress:nth-child(3) { background-color: red; }
     8     body > progress:nth-child(4)::-moz-progress-bar { background-color: red; }
     9     body > progress:nth-child(5) { border: 2px solid red; }
    10     body > progress:nth-child(6)::-moz-progress-bar { border: 5px solid red; }
    11   </style>
    12   <body>
    13     <progress></progress>
    14     <progress></progress>
    15     <progress></progress>
    16     <progress></progress>
    17     <progress></progress>
    18     <progress></progress>
    19   </body>
    20 </html>

mercurial