<html>
<head>
<title>Text Transform Capitalize Tests</title>
</head>
<body>
<p>
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.
</p>
<div style="margin: 20px; padding: 20px; border: 5px solid red;">
<div style="unicode-bidi: bidi-override; direction: rtl; text-transform: capitalize;">capi<span>tal</span>ise</div>
<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>
</div>
</body>
</html>