gecko/layout/reftests/css-mediaqueries/scoped-mq-update.html

12 lines
348 B
HTML

<!DOCTYPE html>
<html class="reftest-wait">
<iframe src="scoped-mq-update-helper.html" width="300" height="100" style="border: none"></iframe>
<script>
function test() {
document.querySelector("iframe").width = "100";
document.documentElement.removeAttribute("class");
}
window.addEventListener("MozReftestInvalidate", test, false);
</script>