18 lines
397 B
HTML
18 lines
397 B
HTML
<html>
|
|
<head>
|
|
<style>
|
|
div { background-color: red; width: 100px; height: 100px }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
You should see a 100x100 green square below. If you see any red then the test has failed.
|
|
<div></div>
|
|
<script>
|
|
var s = document.createElement("link");
|
|
s.setAttribute("rel", "stylesheet");
|
|
s.setAttribute("href", "resources/green.css");
|
|
document.body.appendChild(s);
|
|
</script>
|
|
</body>
|
|
</html>
|