servo/tests/ref/style_is_in_doc_ref.html
2014-09-08 20:21:42 -06:00

18 lines
495 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
.from_html { color: blue; }
.append_later { color: green; }
.text_set_later { color: yellow; }
.is_not_in_doc { color: grey; }
</style>
</head>
<body>
<p class="from_html">Style from html element</p>
<p class="append_later">Style from an element added in javascript</p>
<p class="text_set_later">Style from an element with content set in javascript</p>
<p class="is_not_in_doc">Style that is never in the document</p>
</body>
</html>