1 <!DOCTYPE HTML PUBLIC
"-//IETF//DTD HTML//EN">
5 dt:first-letter{text-transform:uppercase;}
7 <script src=
"../resources/js-test.js"></script>
8 <script src=
"../resources/accessibility-helper.js"></script>
14 <p id=
"description"></p>
15 <div id=
"console"></div>
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);