<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
This test makes sure that RTL text is shaped correctly in image alt text. The test passes if you see this text below:
<div style="position: relative;"><div style="position: absolute; left: 2px; top: 2px; width: 196px; height: 80px; overflow: hidden;"><div style="display: inline-block; width: 200px; height: 200px; position: absolute; left: -1px; top: -2px;">یاexampleیا</div></div></div>
</body>
</html>
