3 <title>Text Transform Capitalize Tests
</title>
7 This file tests capitalisation with all sorts of odd things. There is some RTL text, some text with an inlined-div placed inside a word, an image between words as well as a div between words. Each word below should be capitalised, and there should be no capitals n the middle of words.
9 <div style=
"margin: 20px; padding: 20px; border: 5px solid red;">
10 <div style=
"unicode-bidi: bidi-override; direction: rtl; text-transform: capitalize;">capi
<span>tal
</span>ise
</div>
11 <div style=
"text-transform: capitalize">a w
<div style=
"display: inline">or
</div>d with
<img src=
"resources/greenbox.png">an image
<div></div>in be
<span>tw
</span>een
</div>