blob: 553785d29b98fda349fa2a86c146ef606db6b8f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<!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(svg, document.body);
document.onfullscreenchange = t.step_func_done();
document.onfullscreenerror = t.unreached_func("fullscreenerror event");
});
</script>
|