зеркало из https://github.com/mozilla/gecko-dev.git
19 строки
610 B
HTML
19 строки
610 B
HTML
<!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('rtl')">
|
|
<div><input type="text" value="ABC אבג" id="set0" dir="auto"></div>
|
|
<div><span id="set1" dir="auto">ABC אבג</span></div>
|
|
<div><textarea id="set2" dir="auto">ABC אבג</textarea></div>
|
|
<div><button id="set3" dir="auto">ABC אבג</button></div>
|
|
<div><span id="set4" dir="auto">ABC אבג</bdi></div>
|
|
</body>
|
|
</html>
|