5 .capitalize:first-letter {
6 text-transform: uppercase;
13 if (window
.testRunner
)
14 testRunner
.dumpAsText();
19 Test case for
<a href=
"https://bugs.webkit.org/show_bug.cgi?id=34641">Bug
34641</a>.
22 <div class=
"capitalize"><input class=
"block" type=
"submit"></div>
23 <div class=
"capitalize"><select class=
"block"><option>foo
</select></div>
24 <div class=
"capitalize"><input class=
"block" type=
"text" value=
"foo"></div>
25 <div class=
"capitalize"><input class=
"block" type=
"checkbox"></div>
26 <div class=
"capitalize"><input class=
"block" type=
"radio"></div>
27 <div class=
"capitalize"><input class=
"block" type=
"file"></div>
28 <div class=
"capitalize"><textarea class=
"block"></textarea></div>
29 <div class=
"capitalize"><video class=
"block" controls
></video></div>
30 <div class=
"capitalize"><audio class=
"block" controls
></audio></div>
31 <!-- this makes WebKit recalc style -->
33 <p>No crash means PASS
</p>