gecko-dev/layout/reftests/bugs/367612-1b.html

17 строки
407 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 }"));
</script>
</body>
</html>