blob: 5661bfef760e6c0721033eb3627ab7a0b307411e (
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 rect 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><rect/></svg>
<script>
async_test(function(t)
{
var rect = document.querySelector("rect");
assert_true(rect instanceof SVGRectElement);
trusted_request(rect, document.body);
document.onfullscreenchange = t.unreached_func("fullscreenerror event");
document.onfullscreenerror = t.step_func_done();
});
</script>
|