diff options
Diffstat (limited to 'source/bower_components/modernizr/test/caniuse_files/hashchange.html')
-rw-r--r-- | source/bower_components/modernizr/test/caniuse_files/hashchange.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/source/bower_components/modernizr/test/caniuse_files/hashchange.html b/source/bower_components/modernizr/test/caniuse_files/hashchange.html new file mode 100644 index 0000000..ad95f69 --- /dev/null +++ b/source/bower_components/modernizr/test/caniuse_files/hashchange.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset="utf-8" /> + <title>hashchange test</title> +</head> +<body style="background:red;overflow:hidden;"> +<script> +addEventListener('hashchange', function() { + document.body.style.background = 'lime'; +}, false); + +location.hash = Math.random(); +</script> +</body> +</html> |