blob: ec1de35425e17fa8c67589ba10a9f16c8d4d8923 (
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="foopy"</title>
<script type="text/javascript" src="setDir.js"></script>
<style>
textarea { resize: none; }
</style>
</head>
<body onload="setAllDirAttribute('ltr')">
<div><input type="text" value="ABC אבג" id="set0" dir="foopy"></div>
<div><span id="set1" dir="foopy">ABC אבג</span></div>
<div><textarea id="set2" dir="foopy">ABC אבג</textarea></div>
<div><button id="set3" dir="foopy">ABC אבג</button></div>
<div><bdi id="set4" dir="foopy">ABC אבג</bdi></div>
</body>
</html>
|