widget/reftests/meter-native-style-ref.html

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 <!DOCTYPE html>
     2 <html>
     3   <body>
     4     <!-- Empty meter, no bar. -->
     5     <meter></meter>
     6     <!-- Full meter green colored. -->
     7     <meter min=0 low=0 high=1 optimum=2 max=10 value=10></meter>
     8     <!-- Full meter orange colored. -->
     9     <meter min=0 low=0 high=1 optimum=1 max=10 value=10></meter>
    10     <!-- Full meter red colored. -->
    11     <meter min=0 low=1 high=2 optimum=0 max=10 value=10></meter>
    12     <!-- Half-empty orange colored. -->
    13     <meter min=0 low=0 high=1 optimum=0 max=10 value=5></meter>
    14     <!-- Half-empty orange colored. -->
    15     <meter min=0 low=0 high=1 optimum=0 max=10 value=5></meter>
    16     <!-- With RTL, the bar should begin on the right. -->
    17     <meter style="-moz-transform: scale(-1, 1);" value=0.5></meter>
    18   </body>
    19 </html>

mercurial