| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| <html> |
| <head> |
| <style> |
| dt:first-letter{text-transform:uppercase;} |
| </style> |
| <script> |
| |
| function buildAccessibilityTree(accessibilityObject) { |
| var count = accessibilityObject.childrenCount; |
| for (var i = 0; i < count; ++i) |
| buildAccessibilityTree(accessibilityObject.childAtIndex(i)); |
| } |
| </script> |
| <script src="../resources/js-test-pre.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(); |
| buildAccessibilityTree(accessibilityController.focusedElement); |
| } |
| |
| </script> |
| |
| <script src="../resources/js-test-post.js"></script> |
| </body> |
| </html> |