Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / first-letter-block-form-controls-crash.html
blobff53671c026cc0e7cddaff1498d22088886850b8
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 .capitalize:first-letter {
6 text-transform: uppercase;
8 .block {
9 display: block;
11 </style>
12 <script>
13 if (window.testRunner)
14 testRunner.dumpAsText();
15 </script>
16 </head>
17 <body>
18 <p>
19 Test case for <a href="https://bugs.webkit.org/show_bug.cgi?id=34641">Bug 34641</a>.
20 </p>
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 -->
32 <style></style>
33 <p>No crash means PASS</p>
34 </body>
35 </html>