<!DOCTYPE html>
<html>
<head>
<link rel='match' href='style_is_in_doc_ref.html'>
<meta charset="UTF-8">
<style>
.from_html { color: blue; }
.is_not_in_doc { color: grey; }
</style>
<script type="text/javascript">
var append_later = document.createElement('style');
append_later.textContent = ".append_later { color: green; }";
document.head.appendChild(append_later);

var text_set_later = document.createElement('style');
document.head.appendChild(text_set_later);
text_set_later.textContent = ".text_set_later 