summaryrefslogtreecommitdiff
path: root/widget/reftests/meter-native-style.html
blob: 91342772fe64cd57c5c04f8fd2af86666bd0f40f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<html>
  <body>
    <meter vaue=0></meter>
    <!-- Should be green. -->
    <meter min=0 low=0 high=10 optimum=10 max=10 value=10></meter>
    <!-- Should be orange. -->
    <meter min=0 low=9 high=10 optimum=8 max=10 value=10></meter>
    <!-- Should be red. -->
    <meter min=0 low=8 high=9 optimum=0 max=10 value=10></meter>
    <!-- Half-full orange. -->
    <meter min=0 low=3 high=4 optimum=4 max=10 value=5></meter>
    <!-- Half-full orange. -->
    <meter min=0 low=9 high=10 optimum=10 max=10 value=5></meter>
    <!-- Test RTL -->
    <meter dir='rtl' value=0.5></meter>
  </body>
</html>