Bug 1585747 - Fix test test_css_visibility_propagation.xhtml r=hiro

Depends on D47964

Differential Revision: https://phabricator.services.mozilla.com/D59868

--HG--
rename : layout/base/tests/chrome/window_css_visibility_propagation-1.html => layout/base/tests/chrome/window_css_visibility_propagation-1.xhtml
rename : layout/base/tests/chrome/window_css_visibility_propagation-2.html => layout/base/tests/chrome/window_css_visibility_propagation-2.xhtml
extra : moz-landing-system : lando
This commit is contained in:
Julian Descottes 2020-01-14 23:01:29 +00:00
Родитель dee6e3c78d
Коммит f30455107b
7 изменённых файлов: 17 добавлений и 11 удалений

Просмотреть файл

@ -67,8 +67,8 @@ skip-if = webrender
[test_getClientRectsAndTexts.html]
[test_css_visibility_propagation.xhtml]
support-files =
window_css_visibility_propagation-1.html
window_css_visibility_propagation-2.html
window_css_visibility_propagation-1.xhtml
window_css_visibility_propagation-2.xhtml
window_css_visibility_propagation-3.html
window_css_visibility_propagation-4.html
frame_css_visibility_propagation.html

Просмотреть файл

@ -13,10 +13,10 @@ const baseURL = "chrome://mochitests/content/chrome/layout/base/tests/chrome/";
add_task(async () => {
// Open two new windows to swap iframes.
const window1 = docShell.rootTreeItem.domWindow.open(
baseURL + "window_css_visibility_propagation-1.html",
baseURL + "window_css_visibility_propagation-1.xhtml",
"_blank", "chrome");
const window2 = docShell.rootTreeItem.domWindow.open(
baseURL + "window_css_visibility_propagation-2.html",
baseURL + "window_css_visibility_propagation-2.xhtml",
"_blank", "chrome");
const loadWindow1 =

Просмотреть файл

@ -1,3 +0,0 @@
<div id="parent" style="visibility: hidden">
<iframe src="about:mozilla"/>
</div>

Просмотреть файл

@ -0,0 +1,6 @@
<?xml version="1.0"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<div id="parent" style="visibility:hidden">
<iframe type="content" src="about:mozilla"></iframe>
</div>
</window>

Просмотреть файл

@ -1,3 +0,0 @@
<div id="parent">
<iframe src="frame_css_visibility_propagation.html"/>
</div>

Просмотреть файл

@ -0,0 +1,6 @@
<?xml version="1.0"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<div id="parent">
<iframe type="content" src="frame_css_visibility_propagation.html"></iframe>
</div>
</window>

Просмотреть файл

@ -1,3 +1,3 @@
<div id="parent">
<iframe onload="opener.postMessage('ready');" src="window_css_visibility_propagation-2.html"/>
<iframe onload="opener.postMessage('ready');" src="window_css_visibility_propagation-2.xhtml"/>
</div>