From 52d061077a2e0beec424517d2468c1dcf700b25a Mon Sep 17 00:00:00 2001 From: Daniel Holbert Date: Sun, 24 Aug 2014 22:11:17 -0700 Subject: [PATCH] Bug 1055977 part 2: Add mochitest to verify that ancestors of a fullscreen element are fixed at the initial values of any properties that can create stacking contexts. r=cpearce --HG-- rename : content/html/content/test/file_fullscreen-hidden.html => content/html/content/test/file_fullscreen-ancestor-stacking-context.html --- ..._fullscreen-ancestor-stacking-context.html | 139 ++++++++++++++++++ content/html/content/test/mochitest.ini | 1 + .../content/test/test_fullscreen-api.html | 1 + 3 files changed, 141 insertions(+) create mode 100644 content/html/content/test/file_fullscreen-ancestor-stacking-context.html diff --git a/content/html/content/test/file_fullscreen-ancestor-stacking-context.html b/content/html/content/test/file_fullscreen-ancestor-stacking-context.html new file mode 100644 index 000000000000..2ed8bd64bb74 --- /dev/null +++ b/content/html/content/test/file_fullscreen-ancestor-stacking-context.html @@ -0,0 +1,139 @@ + + + + + Test for Bug 1056203 + + + +Mozilla Bug 1056203 +

+

+
+
+
+
+
+
+

+
+
+
+ + + diff --git a/content/html/content/test/mochitest.ini b/content/html/content/test/mochitest.ini index 9a1720d00d64..df5499d15c14 100644 --- a/content/html/content/test/mochitest.ini +++ b/content/html/content/test/mochitest.ini @@ -26,6 +26,7 @@ support-files = file_bug893537.html file_formSubmission_img.jpg file_formSubmission_text.txt + file_fullscreen-ancestor-stacking-context.html file_fullscreen-api-keys.html file_fullscreen-api.html file_fullscreen-denied-inner.html diff --git a/content/html/content/test/test_fullscreen-api.html b/content/html/content/test/test_fullscreen-api.html index e89d5afa191a..82b7d5e22fbd 100644 --- a/content/html/content/test/test_fullscreen-api.html +++ b/content/html/content/test/test_fullscreen-api.html @@ -34,6 +34,7 @@ SpecialPowers.setBoolPref("full-screen-api.allow-trusted-requests-only", false); // run in an iframe, which by default will not have the allowfullscreen // attribute set, so full-screen won't work. var gTestWindows = [ + "file_fullscreen-ancestor-stacking-context.html", "file_fullscreen-multiple.html", "file_fullscreen-rollback.html", "file_fullscreen-esc-exit.html",