<!DOCTYPE html>
<style>
  div { }
</style>
<script>
  document.styleSheets[0].cssRules[0].style.foo = document;
</script>