https://github.com/web-platform-tests/wpt
Raw File
Tip revision: e6965b725908b2b16c9d03c49f07c29e5adea742 authored by Chris Lilley on 30 April 2018, 18:30:16 UTC
fix indentation
Tip revision: e6965b7
element-request-fullscreen-svg-svg-manual.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>
back to top