blob: e1f345c6cdf506a1a586a9dae0c993a0b98c2641 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<!DOCTYPE html>
<html>
<head>
<script>
function boom()
{
document.getElementById("d1").appendChild(document.createElement("span"));
document.getElementById("d2").style.direction = "rtl";
}
</script>
</head>
<body onload="boom()">
<div id="d1" style="column-width: 1em;">a b c d</div>
<div id="d2"></div>
</body>
</html>
|