<!DOCTYPE html>
<html>
<head>
</head>
<body dir="rtl">
<p dir="ltr">This test makes sure that mixed-direction complex text doesn't overflow its box. The test passes if you don't see any red below.</p>
</body>
</html>