From ae246093a98ab1386c4422306928091f30a27fda Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sat, 4 Apr 2020 16:56:06 -0400 Subject: [PATCH 1/2] Create some tests for fullscreen elements, + + +
+
<iframe> element inside of a shadow DOM.
+
+ + +
+ + + \ No newline at end of file diff --git a/test/data/html/test-stylesheet.css b/test/data/html/test-stylesheet.css index ab25732e..f63d2481 100644 --- a/test/data/html/test-stylesheet.css +++ b/test/data/html/test-stylesheet.css @@ -7,6 +7,7 @@ body { margin: 0 auto; background-color: #f8f8f8; counter-reset: test-id; + overflow-y: scroll; } h1 { @@ -14,6 +15,19 @@ h1 { margin: 0.67em 0; } +p { + margin: 0.33em 0; +} + +h1+p { + margin-top: -0.67em; +} + +a, a:visited { + color: #1080c0; + text-decoration: underline; +} + .test { background-color: #ffffff; margin: 1em 0; @@ -30,3 +44,8 @@ h1 { border-bottom: 1px solid #d8d8d8; font-weight: bold; } + +.description { + color: #444444; + font-style: italic; +} From a4c7d243f4cddfc4e2b29132fe65fe07ff86bc36 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sat, 4 Apr 2020 20:21:39 -0400 Subject: [PATCH 2/2] Add allowfullscreen="true" --- test/data/html/test-document2.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/data/html/test-document2.html b/test/data/html/test-document2.html index 0561a176..3a22a5bf 100644 --- a/test/data/html/test-document2.html +++ b/test/data/html/test-document2.html @@ -57,14 +57,14 @@ document.querySelector('#fullscreen-link1').addEventListener('click', () => togg
<iframe> element.
- +
<iframe> element inside of a shadow DOM.