https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 37940982e9e57da55d0bc3cfde5b699761406271 authored by Hwanseung Lee on 27 March 2018, 23:07:16 UTC
[css-typed-om] support r and rx and ry properties
Tip revision: 3794098
remove-single-manual.html
<!DOCTYPE html>
<title>Remove the single element on the fullscreen element stack</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../trusted-click.js"></script>
<div id="log"></div>
<div id="single"></div>
<script>
async_test(function(t)
{
    var single = document.getElementById("single");
    document.onfullscreenchange = t.step_func(function(event)
    {
        assert_equals(document.fullscreenElement, single);
        assert_equals(event.target, single);
        single.remove();
        document.onfullscreenchange = t.step_func_done(function(event)
        {
            assert_equals(document.fullscreenElement, null);
            assert_equals(event.target, document);
        });
    });
    trusted_request(t, single);
});
</script>
back to top