blob: 2040663c3590e6a3c98594dfe75cf2ec2834f443 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Set and unset dir="auto"</title>
<script type="text/javascript" src="setDir.js"></script>
<style>
textarea { resize: none; }
</style>
</head>
<body onload="setAllDir('')">
<div><input type="text" value="ABC אבג" id="set0" dir="rtl"></div>
<div><span id="set1" dir="rtl">ABC אבג</span></div>
<div><textarea id="set2" dir="rtl">ABC אבג</textarea></div>
<div><button id="set3" dir="rtl">ABC אבג</button></div>
<div><bdi id="set4" dir="rtl">ABC אבג</bdi></div>
</body>
</html>
|