<html>
<head>
    <style>
        div { text-transform: capitalize }
        div:first-letter { color: green; }
    </style>
</head>
<body>
    <p>
        Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=14545">http://bugs.webkit.org/show_bug.cgi?id=14545</a>
        REGRESSION (r21854-r21869): Repro crash in RenderBlock::updateFirstLetter @ nola.com/rose/</i>.
    </p>
    <p>
        The following lines should be identical:
    </p>
    <div>lorem ipsum</div>
    <p><span style="color: green;">L</span>orem Ipsum</p>
</body>
</html>
