gecko-dev/layout/style/test/file_bug1089417_iframe.html
L. David Baron f7ac009fee Bug 1089417 patch 3 - Add mochitest. r=heycam
Note that if I make the style element currently /* empty */ have a rule
in it, the test passes.

Patch 8 also makes the test pass.
2014-12-05 15:50:00 -08:00

18 lines
312 B
HTML

<!DOCTYPE HTML>
<html>
<head>
<title>Bug 1089417</title>
<style>
html { background: red }
@media (min-height: 300px) { html { background: green } }
</style>
<style id="s">/* empty */</style>
<script>
document.getElementById("s").disabled = true;
</script>
</head>
<body>
</body>
</html>