Add allowfullscreen="true"
This commit is contained in:
parent
ae246093a9
commit
a4c7d243f4
@ -57,14 +57,14 @@ document.querySelector('#fullscreen-link1').addEventListener('click', () => togg
|
|||||||
|
|
||||||
<div class="test">
|
<div class="test">
|
||||||
<div class="description"><iframe> element.</div>
|
<div class="description"><iframe> element.</div>
|
||||||
<iframe src="test-document2-frame1.html" style="width: 100%; height: 200px; border: 1px solid #d8d8d8;"></iframe>
|
<iframe src="test-document2-frame1.html" allowfullscreen="true" style="width: 100%; height: 200px; border: 1px solid #d8d8d8;"></iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="test">
|
<div class="test">
|
||||||
<div class="description"><iframe> element inside of a shadow DOM.</div>
|
<div class="description"><iframe> element inside of a shadow DOM.</div>
|
||||||
<div id="shadow-iframe-container"></div>
|
<div id="shadow-iframe-container"></div>
|
||||||
<template id="shadow-iframe-container-content-template">
|
<template id="shadow-iframe-container-content-template">
|
||||||
<iframe src="test-document2-frame1.html" style="width: 100%; height: 200px; border: 1px solid #d8d8d8;"></iframe>
|
<iframe src="test-document2-frame1.html" allowfullscreen="true" style="width: 100%; height: 200px; border: 1px solid #d8d8d8;"></iframe>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
(() => {
|
(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user