blob: 603ca92d57285240c678751b4f48a6b8d019712a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<!DOCTYPE html>
<html>
<head>
<script>
function boom()
{
var c = document.getElementById("c");
var space = document.createTextNode(" ");
c.parentNode.insertBefore(space, c);
}
</script>
</head>
<body style="font-family: monospace;" onload="boom();">
<div style="width: 3ch; border: 1px solid orange;">
<span>a</span> <span>b</span><span id="c">c</span>
</div>
</body>
</html>
|