mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 00:35:44 +00:00
fa547be7bd
MozReview-Commit-ID: 9RBrnst4Wkb --HG-- extra : rebase_source : 257874993e1a1fa81931b2c513357c92b6f705a9
13 lines
253 B
HTML
13 lines
253 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body onload="boom()">
|
|
<div id="target"></div>
|
|
<script>
|
|
function boom() {
|
|
var io = new IntersectionObserver(function () { }, { });
|
|
io.observe(document.getElementById('target'));
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|