diff options
Diffstat (limited to 'layout/reftests/css-mediaqueries/scoped-mq-update.html')
-rw-r--r-- | layout/reftests/css-mediaqueries/scoped-mq-update.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/layout/reftests/css-mediaqueries/scoped-mq-update.html b/layout/reftests/css-mediaqueries/scoped-mq-update.html new file mode 100644 index 000000000..f46a56708 --- /dev/null +++ b/layout/reftests/css-mediaqueries/scoped-mq-update.html @@ -0,0 +1,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> |