mirror of
https://github.com/servo/servo.git
synced 2025-08-15 10:25:32 +01:00
Update web-platform-tests to revision 3b3585e368841b77caea8576fa56cef91c3fbdf0
This commit is contained in:
parent
d00639c55f
commit
3b4f0ec0bb
541 changed files with 14609 additions and 3288 deletions
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<title>Document.fullscreenEnabled</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<div id="log"></div>
|
||||
<iframe></iframe>
|
||||
<iframe allowfullscreen></iframe>
|
||||
<script>
|
||||
test(function()
|
||||
{
|
||||
assert_true(document.fullscreenEnabled, "top-level document");
|
||||
|
||||
var iframes = document.getElementsByTagName("iframe");
|
||||
assert_false(iframes[0].contentDocument.fullscreenEnabled, "iframe without allowfullscreen");
|
||||
assert_true(iframes[1].contentDocument.fullscreenEnabled, "iframe with allowfullscreen");
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue