mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 06:35:42 +00:00
19 lines
626 B
HTML
19 lines
626 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="prependSpansFromArray(new Array('ABC', ' ', 'אבג'))">
|
|
<div><input type="text" value="­" id="set0" dir="auto"></div>
|
|
<div><span id="set1" dir="auto">­</span></div>
|
|
<div><textarea id="set2" dir="auto">­</textarea></div>
|
|
<div><button id="set3" dir="auto">­</button></div>
|
|
<div><bdi id="set4">­</bdi></div>
|
|
</body>
|
|
</html>
|