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

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     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