mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
14 lines
267 B
HTML
14 lines
267 B
HTML
<!DOCTYPE html>
|
|
<head>
|
|
<style>
|
|
body { color: red; }
|
|
</style>
|
|
<script>
|
|
document.styleSheets[0].insertRule("body { color: green; }", 1);
|
|
document.querySelector("style").className = "foo";
|
|
</script>
|
|
</head>
|
|
<body>
|
|
This text should be green
|
|
</body>
|