mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
17 lines
288 B
HTML
17 lines
288 B
HTML
|
<!DOCTYPE html>
|
||
|
<body onload="f()">
|
||
|
<p>First</p>
|
||
|
<div>
|
||
|
<style scoped>
|
||
|
p { color: green }
|
||
|
</style>
|
||
|
<p>Second</p>
|
||
|
</div>
|
||
|
<script>
|
||
|
function f() {
|
||
|
var p = document.getElementsByTagName("p")[1];
|
||
|
document.body.appendChild(p);
|
||
|
}
|
||
|
</script>
|
||
|
</body>
|