layout/reftests/native-theme/listbox-nonnative-when-styled.html

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 <!DOCTYPE HTML>
     2 <body onload="dump('\nDEBUG-bug660226: ' + document.activeElement + '\n\n');">
     3 <!-- these should make the select non-native -->
     4 <select size="3" style="border-width: 0"></select>
     5 <select size="3" style="border-width: 1px"></select>
     6 <select size="3" style="border-width: 2px"></select>
     7 <select size="3" style="border-width: 3px"></select>
     8 <select size="3" style="border-width: 4px"></select>
     9 <select size="3" style="border-width: 5px"></select>
    10 <select size="3" style="border-width: 6px"></select>
    11 <select size="3" style="border-style: dotted"></select>
    12 <select size="3" style="border-color: green"></select>
    13 <select size="3" style="background-color: transparent"></select>
    14 <select size="3" style="background-color: white"></select>
    16 <!-- these should let it stay native -->
    17 <select size="3" style="color: black"></select>
    18 <select size="3" style="font-weight: normal"></select>
    19 </body>

mercurial