widget/reftests/meter-vertical-native-style.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 <html>
     2   <style>
     3     meter { -moz-orient: vertical; }
     4   </style>
     5   <body>
     6 <!-- For some reasons, the ref has a small offset when there are spaces between meters.
     7      Given that we don't want to test -moz-transform and even a perfect match but just
     8      the general rendering, we are going to keep this dirty test.
     9      It's very similar to the non-vertical test with a difference, for the RTL: RTL
    10      does not apply for vertical meters. -->
    11 <meter vaue=0></meter><meter min=0 low=0 high=10 optimum=10 max=10 value=10></meter><meter min=0 low=9 high=10 optimum=8 max=10 value=10></meter><meter min=0 low=8 high=9 optimum=0 max=10 value=10></meter><meter min=0 low=3 high=4 optimum=4 max=10 value=5></meter><meter min=0 low=9 high=10 optimum=10 max=10 value=5></meter><meter value=0.5 dir=rtl></meter>
    12   </body>
    13 </html>

mercurial