<!DOCTYPE html>
<html dir="rtl">
<head>
<meta charset="utf-8">
<title>Test GetDir() for documents</title>
</head>
<body>
<div>getDir on document returns "rtl"</div>
</body>
</html>