summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bidi/267459-1.html
blob: 5caf199f0e69739c89eb4c71b08fc0b1583874f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<html>
 <head>
  <title>Test unicode-bidi in form controls</title>
  <meta http-equiv="Content-type" content="text/html; charset=utf-8">
  <style type="text/css">
   .reversed {
     direction: rtl;
     unicode-bidi: bidi-override;
    }
  </style>
 </head>
 <body>
   <p class="reversed">This paragraph should appear backwards</p>
   <p>
   <textarea class="reversed" rows="3" cols="80" style="resize:none">This textarea should appear backwards</textarea><br>
   <input class="reversed" type="text" size="80" value="This input should appear backwards"><br>
   <input class="reversed" type="button" value="This button should appear backwards"><br>
   <select size="6" class="reversed">
    <option selected class="reversed">This</option>
    <optgroup class="reversed" label="select">
     <option class="reversed">should</option>
     <option class="reversed">appear</option>
    </optgroup>
    <optgroup class="reversed" label="backwards">
     <option class="reversed">throughout</option>
    </optgroup>
   </select><br>
 </body>
</html>