зеркало из https://github.com/mozilla/pjs.git
28 строки
505 B
HTML
28 строки
505 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||
|
<meta http-equiv="Content-Style-Type" content="text/css">
|
||
|
<style type="text/css">
|
||
|
|
||
|
body > span { outline: 1px dotted black; }
|
||
|
body > span > span { display: block; width: 10em; }
|
||
|
|
||
|
</style>
|
||
|
|
||
|
<script>
|
||
|
function boom()
|
||
|
{
|
||
|
var n = document.getElementById("a");
|
||
|
n.parentNode.appendChild(n.cloneNode(true));
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
</head>
|
||
|
<body onload="boom();">
|
||
|
|
||
|
<span><span id="a">A</span></span>
|
||
|
|
||
|
</body>
|
||
|
</html>
|