summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-mediaqueries/scoped-mq-update.html
blob: f46a56708a9a3d77f16fe337b5360e1947805035 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!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>