<!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;"><img alt="یاexampleیا" src="about:blank" width="200" height="200" style="position: absolute; left: -2px; top: -2px;"></div></div>
</body>
</html>
