Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / accessibility / first-letter-text-transform-causes-crash.html
blob71e5011c47f956cae4a9a07aa85f1ff599eaf519
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <style>
5 dt:first-letter{text-transform:uppercase;}
6 </style>
7 <script src="../resources/js-test.js"></script>
8 <script src="../resources/accessibility-helper.js"></script>
9 </head>
10 <body>
12 <dt>dt</dt>
13 <p>End of test</p>
14 <p id="description"></p>
15 <div id="console"></div>
17 <script>
18 description("First letter text transform causes assert and bad type cast. This can cause a crash.");
20 // Trigger a layout operation to create the two LayoutTextFragment instances.
21 document.body.children[0].offsetWidth;
23 if (window.accessibilityController) {
24 // Build up full accessibility tree.
25 document.body.focus();
26 buildAccessibilityTree(accessibilityController.focusedElement, 0);
29 </script>
31 </body>
32 </html>