summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/rendering/non-replaced-elements/form-controls/text-transform.html
blob: f57f09298231cb394fa4e646206d23e216e480c9 (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
31
32
33
34
35
36
37
38
39
40
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <link rel="match" href="text-transform-ref.html">
</head>
<body style="text-transform: uppercase;">
  <span>this text should be upper-case.</span><br />

  <input type="text" value="this text should be lower-case."><br />

  <select>
    <option>this text should be lower-case.</option>
  </select><br />
  <select multiple>
    <option>this text should be lower-case.</option>
  </select><br />
  <select multiple>
    <optgroup label="this text should be lower-case.">
      <option>this text should be lower-case.</option>
    </optgroup>
  </select><br />

  <select style="text-transform: uppercase;">
    <option>this text should be upper-case.</option>
  </select><br />
  <select multiple style="text-transform: uppercase;">
    <option>this text should be upper-case.</option>
  </select><br />
  <select multiple style="text-transform: uppercase;">
    <optgroup label="this text should be upper-case.">
      <option>this text should be upper-case.</option>
    </optgroup>
  </select><br />

  <button>this text should be lower-case.</button><br />

  <textarea>this text should be lower-case.</textarea><br />
</body>
</html>