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.

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

mercurial