зеркало из https://github.com/mozilla/gecko-dev.git
18 строки
455 B
HTML
18 строки
455 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style> * { color: red } </style>
|
|
<style id="t"></style>
|
|
</head>
|
|
<body>
|
|
<span class="test">This text should be green</span>
|
|
<script>
|
|
document.getElementById("t").
|
|
appendChild(document.createTextNode("* { color: "));
|
|
document.getElementById("t").
|
|
appendChild(document.createTextNode("green }"));
|
|
document.getElementById("t").normalize();
|
|
</script>
|
|
</body>
|
|
</html>
|