servo/tests/ref/link_style_dynamic_addition.html
Gilles Leblanc 8e77422d8e Handle dynamic addition of attributes
Handles dynamic addition of attributes to <link rel=stylesheet>
elements.

Fixes #3361
2014-09-26 19:04:32 -04:00

11 lines
322 B
HTML

<html>
<head></head>
<body>
<script>
var link = document.createElement("link");
document.head.appendChild(link);
link.setAttribute("rel", "stylesheet");
link.setAttribute("href", "data:text/css,body{background:green}");
</script>
</body>
</html>