gecko-dev/testing/web-platform/tests/fullscreen/api/element-request-fullscreen-...

18 строки
576 B
HTML

<!DOCTYPE html>
<title>Element#requestFullscreen() for SVG svg element</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../trusted-click.js"></script>
<div id="log"></div>
<svg></svg>
<script>
async_test(function(t)
{
var svg = document.querySelector("svg");
assert_true(svg instanceof SVGSVGElement);
trusted_request(t, svg, document.body);
document.onfullscreenchange = t.step_func_done();
document.onfullscreenerror = t.unreached_func("fullscreenerror event");
});
</script>