| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| <html> |
| <head> |
| <style> |
| dt:first-letter{text-transform:uppercase;} |
| </style> |
| <script src="../resources/js-test-pre.js"></script> |
| <script src="../resources/accessibility-helper.js"></script> |
| </head> |
| <body> |
| |
| <dt>dt</dt> |
| |
| <p id="description"></p> |
| <div id="console"></div> |
| |
| <script> |
| description("First letter text transform causes assert and bad type cast. This can cause a crash."); |
| |
| // Trigger a layout operation to create the two RenderTextFragment instances. |
| document.body.children[0].offsetWidth; |
| |
| if (window.accessibilityController) { |
| // Build up full accessibility tree. |
| document.body.focus(); |
| touchAccessibilityTree(accessibilityController.focusedElement); |
| } |
| |
| </script> |
| |
| <script src="../resources/js-test-post.js"></script> |
| </body> |
| </html> |