mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
15 lines
369 B
HTML
15 lines
369 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(""));
|
||
|
document.getElementById("t").firstChild.data = "* { color: green }";
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|