From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- layout/xul/test/browser.toml | 17 ++ layout/xul/test/browser_bug1163304.js | 83 +++++++++ layout/xul/test/browser_bug1754298.js | 35 ++++ layout/xul/test/browser_bug685470.js | 38 ++++ layout/xul/test/browser_bug703210.js | 56 ++++++ layout/xul/test/browser_bug706743.js | 158 +++++++++++++++++ layout/xul/test/chrome.toml | 56 ++++++ layout/xul/test/file_bug386386.sjs | 14 ++ layout/xul/test/mochitest.toml | 25 +++ layout/xul/test/test_bug1197913.xhtml | 63 +++++++ layout/xul/test/test_bug159346.xhtml | 143 +++++++++++++++ layout/xul/test/test_bug381167.xhtml | 52 ++++++ layout/xul/test/test_bug386386.html | 34 ++++ layout/xul/test/test_bug394800.xhtml | 39 +++++ layout/xul/test/test_bug398982-1.xhtml | 31 ++++ layout/xul/test/test_bug398982-2.xhtml | 33 ++++ layout/xul/test/test_bug467442.xhtml | 53 ++++++ layout/xul/test/test_bug477754.xhtml | 51 ++++++ layout/xul/test/test_bug511075.html | 121 +++++++++++++ layout/xul/test/test_bug563416.html | 53 ++++++ layout/xul/test/test_bug703150.xhtml | 74 ++++++++ layout/xul/test/test_bug987230.xhtml | 109 ++++++++++++ layout/xul/test/test_drag_thumb_in_link.html | 76 ++++++++ layout/xul/test/test_menuitem_ctrl_click.xhtml | 80 +++++++++ layout/xul/test/test_popupReflowPos.xhtml | 77 ++++++++ layout/xul/test/test_popupSizeTo.xhtml | 55 ++++++ layout/xul/test/test_popupZoom.xhtml | 53 ++++++ layout/xul/test/test_resizer_ctrl_click.xhtml | 47 +++++ layout/xul/test/test_resizer_incontent.xhtml | 42 +++++ layout/xul/test/test_splitter.xhtml | 117 +++++++++++++ layout/xul/test/test_splitter_sibling.xhtml | 88 ++++++++++ layout/xul/test/test_submenuClose.xhtml | 91 ++++++++++ .../xul/test/test_toolbarbutton_ctrl_click.xhtml | 47 +++++ layout/xul/test/test_windowminmaxsize.xhtml | 193 +++++++++++++++++++++ layout/xul/test/titledpanelwindow.xhtml | 5 + layout/xul/test/windowminmaxsize1.xhtml | 4 + layout/xul/test/windowminmaxsize10.xhtml | 4 + layout/xul/test/windowminmaxsize2.xhtml | 4 + layout/xul/test/windowminmaxsize3.xhtml | 4 + layout/xul/test/windowminmaxsize4.xhtml | 4 + layout/xul/test/windowminmaxsize5.xhtml | 4 + layout/xul/test/windowminmaxsize6.xhtml | 4 + layout/xul/test/windowminmaxsize7.xhtml | 4 + layout/xul/test/windowminmaxsize8.xhtml | 4 + layout/xul/test/windowminmaxsize9.xhtml | 4 + 45 files changed, 2349 insertions(+) create mode 100644 layout/xul/test/browser.toml create mode 100644 layout/xul/test/browser_bug1163304.js create mode 100644 layout/xul/test/browser_bug1754298.js create mode 100644 layout/xul/test/browser_bug685470.js create mode 100644 layout/xul/test/browser_bug703210.js create mode 100644 layout/xul/test/browser_bug706743.js create mode 100644 layout/xul/test/chrome.toml create mode 100644 layout/xul/test/file_bug386386.sjs create mode 100644 layout/xul/test/mochitest.toml create mode 100644 layout/xul/test/test_bug1197913.xhtml create mode 100644 layout/xul/test/test_bug159346.xhtml create mode 100644 layout/xul/test/test_bug381167.xhtml create mode 100644 layout/xul/test/test_bug386386.html create mode 100644 layout/xul/test/test_bug394800.xhtml create mode 100644 layout/xul/test/test_bug398982-1.xhtml create mode 100644 layout/xul/test/test_bug398982-2.xhtml create mode 100644 layout/xul/test/test_bug467442.xhtml create mode 100644 layout/xul/test/test_bug477754.xhtml create mode 100644 layout/xul/test/test_bug511075.html create mode 100644 layout/xul/test/test_bug563416.html create mode 100644 layout/xul/test/test_bug703150.xhtml create mode 100644 layout/xul/test/test_bug987230.xhtml create mode 100644 layout/xul/test/test_drag_thumb_in_link.html create mode 100644 layout/xul/test/test_menuitem_ctrl_click.xhtml create mode 100644 layout/xul/test/test_popupReflowPos.xhtml create mode 100644 layout/xul/test/test_popupSizeTo.xhtml create mode 100644 layout/xul/test/test_popupZoom.xhtml create mode 100644 layout/xul/test/test_resizer_ctrl_click.xhtml create mode 100644 layout/xul/test/test_resizer_incontent.xhtml create mode 100644 layout/xul/test/test_splitter.xhtml create mode 100644 layout/xul/test/test_splitter_sibling.xhtml create mode 100644 layout/xul/test/test_submenuClose.xhtml create mode 100644 layout/xul/test/test_toolbarbutton_ctrl_click.xhtml create mode 100644 layout/xul/test/test_windowminmaxsize.xhtml create mode 100644 layout/xul/test/titledpanelwindow.xhtml create mode 100644 layout/xul/test/windowminmaxsize1.xhtml create mode 100644 layout/xul/test/windowminmaxsize10.xhtml create mode 100644 layout/xul/test/windowminmaxsize2.xhtml create mode 100644 layout/xul/test/windowminmaxsize3.xhtml create mode 100644 layout/xul/test/windowminmaxsize4.xhtml create mode 100644 layout/xul/test/windowminmaxsize5.xhtml create mode 100644 layout/xul/test/windowminmaxsize6.xhtml create mode 100644 layout/xul/test/windowminmaxsize7.xhtml create mode 100644 layout/xul/test/windowminmaxsize8.xhtml create mode 100644 layout/xul/test/windowminmaxsize9.xhtml (limited to 'layout/xul/test') diff --git a/layout/xul/test/browser.toml b/layout/xul/test/browser.toml new file mode 100644 index 0000000000..46c0103b58 --- /dev/null +++ b/layout/xul/test/browser.toml @@ -0,0 +1,17 @@ +[DEFAULT] + +["browser_bug685470.js"] + +["browser_bug703210.js"] +skip-if = ["true"] # Bugs 1382428, 1567736, 1565339 + +["browser_bug706743.js"] +skip-if = ["true"] # Bug 1157576 + +["browser_bug1163304.js"] +run-if = [ + "os == 'linux'", + "os == 'win'", +] # Due to testing menubar behavior with keyboard + +["browser_bug1754298.js"] diff --git a/layout/xul/test/browser_bug1163304.js b/layout/xul/test/browser_bug1163304.js new file mode 100644 index 0000000000..cebc857c9a --- /dev/null +++ b/layout/xul/test/browser_bug1163304.js @@ -0,0 +1,83 @@ +const { CustomizableUITestUtils } = ChromeUtils.importESModule( + "resource://testing-common/CustomizableUITestUtils.sys.mjs" +); +let gCUITestUtils = new CustomizableUITestUtils(window); + +add_task(async function test_setup() { + await gCUITestUtils.addSearchBar(); + registerCleanupFunction(() => { + gCUITestUtils.removeSearchBar(); + }); +}); + +add_task(async function () { + const promiseFocusInSearchBar = BrowserTestUtils.waitForEvent( + BrowserSearch.searchBar.textbox, + "focus" + ); + BrowserSearch.searchBar.focus(); + await promiseFocusInSearchBar; + + let DOMWindowUtils = EventUtils._getDOMWindowUtils(); + is( + DOMWindowUtils.IMEStatus, + DOMWindowUtils.IME_STATUS_ENABLED, + "IME should be available when searchbar has focus" + ); + + let searchPopup = document.getElementById("PopupSearchAutoComplete"); + + // Open popup of the searchbar + // Oddly, F4 key press is sometimes not handled by the search bar. + // It's out of scope of this test, so, let's retry to open it if failed. + await (async () => { + async function tryToOpen() { + try { + BrowserSearch.searchBar.focus(); + EventUtils.synthesizeKey("KEY_F4"); + await TestUtils.waitForCondition( + () => searchPopup.state == "open", + "The popup isn't opened", + 5, + 100 + ); + } catch (e) { + // timed out, let's just return false without asserting the failure. + return false; + } + return true; + } + for (let i = 0; i < 5; i++) { + if (await tryToOpen()) { + return; + } + } + ok(false, "Failed to open the popup of searchbar"); + })(); + + is( + DOMWindowUtils.IMEStatus, + DOMWindowUtils.IME_STATUS_ENABLED, + "IME should be available even when the popup of searchbar is open" + ); + + // Activate the menubar, then, the popup should be closed + is(searchPopup.state, "open", "The popup of searchbar shouldn't be closed"); + let hiddenPromise = BrowserTestUtils.waitForEvent(searchPopup, "popuphidden"); + EventUtils.synthesizeKey("KEY_Alt"); + await hiddenPromise; + await new Promise(r => setTimeout(r, 0)); + + is( + DOMWindowUtils.IMEStatus, + DOMWindowUtils.IME_STATUS_DISABLED, + "IME should not be available when menubar is active" + ); + // Inactivate the menubar (and restore the focus to the searchbar + EventUtils.synthesizeKey("KEY_Escape"); + is( + DOMWindowUtils.IMEStatus, + DOMWindowUtils.IME_STATUS_ENABLED, + "IME should be available after focus is back to the searchbar" + ); +}); diff --git a/layout/xul/test/browser_bug1754298.js b/layout/xul/test/browser_bug1754298.js new file mode 100644 index 0000000000..05701e4f08 --- /dev/null +++ b/layout/xul/test/browser_bug1754298.js @@ -0,0 +1,35 @@ +add_task(async function () { + const PAGE = ` + +`; + const url = "data:text/html," + encodeURI(PAGE); + await BrowserTestUtils.withNewTab( + { + gBrowser, + url, + }, + async function (browser) { + let popupShownPromise = BrowserTestUtils.waitForSelectPopupShown(window); + await BrowserTestUtils.synthesizeMouseAtCenter("select", {}, browser); + let popup = await popupShownPromise; + EventUtils.sendString("C", window); + EventUtils.sendKey("RETURN", window); + ok( + await TestUtils.waitForCondition(() => { + return SpecialPowers.spawn( + browser, + [], + () => content.document.querySelector("select").value + ).then(value => value == 3); + }), + "Unexpected value for select element (expected 3)!" + ); + } + ); +}); diff --git a/layout/xul/test/browser_bug685470.js b/layout/xul/test/browser_bug685470.js new file mode 100644 index 0000000000..46997b2e3b --- /dev/null +++ b/layout/xul/test/browser_bug685470.js @@ -0,0 +1,38 @@ +add_task(async function () { + const html = + '

This paragraph has a tooltip.

'; + await BrowserTestUtils.openNewForegroundTab( + gBrowser, + "data:text/html," + html + ); + + await new Promise(resolve => { + SpecialPowers.pushPrefEnv({ set: [["ui.tooltipDelay", 0]] }, resolve); + }); + + await BrowserTestUtils.synthesizeMouseAtCenter( + "#p1", + { type: "mousemove" }, + gBrowser.selectedBrowser + ); + await BrowserTestUtils.synthesizeMouseAtCenter( + "#p1", + {}, + gBrowser.selectedBrowser + ); + + // Wait until the tooltip timeout triggers that would normally have opened the popup. + await new Promise(resolve => setTimeout(resolve, 0)); + is( + document.getElementById("aHTMLTooltip").state, + "closed", + "local tooltip is closed" + ); + is( + document.getElementById("remoteBrowserTooltip").state, + "closed", + "remote tooltip is closed" + ); + + gBrowser.removeCurrentTab(); +}); diff --git a/layout/xul/test/browser_bug703210.js b/layout/xul/test/browser_bug703210.js new file mode 100644 index 0000000000..5026875310 --- /dev/null +++ b/layout/xul/test/browser_bug703210.js @@ -0,0 +1,56 @@ +add_task(async function () { + const url = + "data:text/html," + + "" + + '

This paragraph has a tooltip.

' + + '

This paragraph doesn\'t have tooltip.

'; + + let tab = await BrowserTestUtils.openNewForegroundTab(gBrowser, url); + let browser = gBrowser.selectedBrowser; + + await new Promise(resolve => { + SpecialPowers.pushPrefEnv({ set: [["ui.tooltipDelay", 0]] }, resolve); + }); + + let popupShownPromise = BrowserTestUtils.waitForEvent( + document, + "popupshown", + false, + event => { + is(event.originalTarget.localName, "tooltip", "tooltip is showing"); + return true; + } + ); + let popupHiddenPromise = BrowserTestUtils.waitForEvent( + document, + "popuphidden", + false, + event => { + is(event.originalTarget.localName, "tooltip", "tooltip is hidden"); + return true; + } + ); + + // Send a mousemove at a known position to start the test. + await BrowserTestUtils.synthesizeMouseAtCenter( + "#p2", + { type: "mousemove" }, + browser + ); + await BrowserTestUtils.synthesizeMouseAtCenter( + "#p1", + { type: "mousemove" }, + browser + ); + await popupShownPromise; + await BrowserTestUtils.synthesizeMouseAtCenter( + "#p2", + { type: "mousemove" }, + browser + ); + await popupHiddenPromise; + + gBrowser.removeCurrentTab(); +}); diff --git a/layout/xul/test/browser_bug706743.js b/layout/xul/test/browser_bug706743.js new file mode 100644 index 0000000000..c28721e831 --- /dev/null +++ b/layout/xul/test/browser_bug706743.js @@ -0,0 +1,158 @@ +add_task(async function () { + const url = + "data:text/html," + + 'here is an anchor element'; + + let tab = await BrowserTestUtils.openNewForegroundTab(gBrowser, url); + let browser = gBrowser.selectedBrowser; + + await new Promise(resolve => { + SpecialPowers.pushPrefEnv({ set: [["ui.tooltipDelay", 0]] }, resolve); + }); + + // Send a mousemove at a known position to start the test. + await BrowserTestUtils.synthesizeMouse( + "#target", + -5, + -5, + { type: "mousemove" }, + browser + ); + + // show tooltip by mousemove into target. + let popupShownPromise = BrowserTestUtils.waitForEvent(document, "popupshown"); + await BrowserTestUtils.synthesizeMouse( + "#target", + 5, + 15, + { type: "mousemove" }, + browser + ); + await popupShownPromise; + + // hide tooltip by mousemove to outside. + let popupHiddenPromise = BrowserTestUtils.waitForEvent( + document, + "popuphidden" + ); + await BrowserTestUtils.synthesizeMouse( + "#target", + -5, + 15, + { type: "mousemove" }, + browser + ); + await popupHiddenPromise; + + // mousemove into the target and start drag by emulation via nsIDragService. + // Note that on some platforms, we cannot actually start the drag by + // synthesized events. E.g., Windows waits an actual mousemove event after + // dragstart. + + // Emulate a buggy mousemove event. widget might dispatch mousemove event + // during drag. + + function tooltipNotExpected() { + ok(false, "tooltip is shown during drag"); + } + addEventListener("popupshown", tooltipNotExpected, true); + + let dragService = Cc["@mozilla.org/widget/dragservice;1"].getService( + Ci.nsIDragService + ); + dragService.startDragSessionForTests( + Ci.nsIDragService.DRAGDROP_ACTION_MOVE | + Ci.nsIDragService.DRAGDROP_ACTION_COPY | + Ci.nsIDragService.DRAGDROP_ACTION_LINK + ); + try { + await BrowserTestUtils.synthesizeMouse( + "#target", + 5, + 15, + { type: "mousemove" }, + browser + ); + + // eslint-disable-next-line mozilla/no-arbitrary-setTimeout + await new Promise(resolve => setTimeout(resolve, 100)); + } finally { + removeEventListener("popupshown", tooltipNotExpected, true); + dragService.endDragSession(true); + } + + await BrowserTestUtils.synthesizeMouse( + "#target", + -5, + -5, + { type: "mousemove" }, + browser + ); + + // If tooltip listener used a flag for managing D&D state, we would need + // to test if the tooltip is shown after drag. + + // show tooltip by mousemove into target. + popupShownPromise = BrowserTestUtils.waitForEvent(document, "popupshown"); + await BrowserTestUtils.synthesizeMouse( + "#target", + 5, + 15, + { type: "mousemove" }, + browser + ); + await popupShownPromise; + + // hide tooltip by mousemove to outside. + popupHiddenPromise = BrowserTestUtils.waitForEvent(document, "popuphidden"); + await BrowserTestUtils.synthesizeMouse( + "#target", + -5, + 15, + { type: "mousemove" }, + browser + ); + await popupHiddenPromise; + + // Show tooltip after mousedown + popupShownPromise = BrowserTestUtils.waitForEvent(document, "popupshown"); + await BrowserTestUtils.synthesizeMouse( + "#target", + 5, + 15, + { type: "mousemove" }, + browser + ); + await popupShownPromise; + + popupHiddenPromise = BrowserTestUtils.waitForEvent(document, "popuphidden"); + await BrowserTestUtils.synthesizeMouse( + "#target", + 5, + 15, + { type: "mousedown" }, + browser + ); + await popupHiddenPromise; + + await BrowserTestUtils.synthesizeMouse( + "#target", + 5, + 15, + { type: "mouseup" }, + browser + ); + await BrowserTestUtils.synthesizeMouse( + "#target", + -5, + 15, + { type: "mousemove" }, + browser + ); + + ok(true, "tooltips appear properly"); + + gBrowser.removeCurrentTab(); +}); diff --git a/layout/xul/test/chrome.toml b/layout/xul/test/chrome.toml new file mode 100644 index 0000000000..6588db2ea4 --- /dev/null +++ b/layout/xul/test/chrome.toml @@ -0,0 +1,56 @@ +[DEFAULT] +skip-if = ["os == 'android'"] +support-files = [ + "windowminmaxsize1.xhtml", + "windowminmaxsize2.xhtml", + "windowminmaxsize3.xhtml", + "windowminmaxsize4.xhtml", + "windowminmaxsize5.xhtml", + "windowminmaxsize6.xhtml", + "windowminmaxsize7.xhtml", + "windowminmaxsize8.xhtml", + "windowminmaxsize9.xhtml", + "windowminmaxsize10.xhtml", + "titledpanelwindow.xhtml", +] + +["test_bug159346.xhtml"] + +["test_bug381167.xhtml"] + +["test_bug398982-1.xhtml"] + +["test_bug398982-2.xhtml"] + +["test_bug467442.xhtml"] + +["test_bug477754.xhtml"] + +["test_bug703150.xhtml"] + +["test_bug987230.xhtml"] +skip-if = ["os == 'linux'"] # No native mousedown event on Linux + +["test_bug1197913.xhtml"] + +["test_menuitem_ctrl_click.xhtml"] + +["test_popupReflowPos.xhtml"] + +["test_popupSizeTo.xhtml"] + +["test_popupZoom.xhtml"] + +["test_resizer_ctrl_click.xhtml"] + +["test_resizer_incontent.xhtml"] + +["test_splitter.xhtml"] + +["test_splitter_sibling.xhtml"] + +["test_submenuClose.xhtml"] + +["test_toolbarbutton_ctrl_click.xhtml"] + +["test_windowminmaxsize.xhtml"] diff --git a/layout/xul/test/file_bug386386.sjs b/layout/xul/test/file_bug386386.sjs new file mode 100644 index 0000000000..4cd23a7909 --- /dev/null +++ b/layout/xul/test/file_bug386386.sjs @@ -0,0 +1,14 @@ +// SJS file for test_bug386386.html +"use strict"; + +function handleRequest(request, response) { + response.setHeader("Cache-Control", "no-cache", false); + response.setHeader( + "Content-Type", + "application/xhtml+xml;charset=utf-8", + false + ); + response.write( + "%3C%3Fxml%20version%3D%221.0%22%3F%3E%0A%3Cwindow%3E%3C/window%3E" + ); +} diff --git a/layout/xul/test/mochitest.toml b/layout/xul/test/mochitest.toml new file mode 100644 index 0000000000..bb22c84315 --- /dev/null +++ b/layout/xul/test/mochitest.toml @@ -0,0 +1,25 @@ +[DEFAULT] +support-files = ["file_bug386386.sjs"] + +["test_bug386386.html"] +allow_xul_xbl = true +skip-if = [ + "http3", + "http2", +] + +["test_bug394800.xhtml"] +allow_xul_xbl = true +skip-if = [ + "http3", + "http2", +] + +["test_bug511075.html"] +skip-if = ["os == 'android'"] #bug 798806 + +["test_bug563416.html"] +skip-if = ["os == 'android'"] + +["test_drag_thumb_in_link.html"] +skip-if = ["os == 'android'"] diff --git a/layout/xul/test/test_bug1197913.xhtml b/layout/xul/test/test_bug1197913.xhtml new file mode 100644 index 0000000000..539f02128f --- /dev/null +++ b/layout/xul/test/test_bug1197913.xhtml @@ -0,0 +1,63 @@ + + + + + + + diff --git a/layout/xul/test/test_bug159346.xhtml b/layout/xul/test/test_bug159346.xhtml new file mode 100644 index 0000000000..c33823f755 --- /dev/null +++ b/layout/xul/test/test_bug159346.xhtml @@ -0,0 +1,143 @@ + + + + + + + + + + + + + + +Mozilla Bug 159346 +

+ +
+
+ + + + +
diff --git a/layout/xul/test/test_bug381167.xhtml b/layout/xul/test/test_bug381167.xhtml new file mode 100644 index 0000000000..750dabae33 --- /dev/null +++ b/layout/xul/test/test_bug381167.xhtml @@ -0,0 +1,52 @@ + + + + Test for Bug 381167 + + + + +Mozilla Bug 381167 +

+ + + + + + + +
+
+
+ + diff --git a/layout/xul/test/test_bug386386.html b/layout/xul/test/test_bug386386.html new file mode 100644 index 0000000000..d3187c9142 --- /dev/null +++ b/layout/xul/test/test_bug386386.html @@ -0,0 +1,34 @@ + +Testcase for bug 386386 + + + + + + + + + + + diff --git a/layout/xul/test/test_bug394800.xhtml b/layout/xul/test/test_bug394800.xhtml new file mode 100644 index 0000000000..26fc50f771 --- /dev/null +++ b/layout/xul/test/test_bug394800.xhtml @@ -0,0 +1,39 @@ + + + + Test Mozilla bug 394800 + + + + + + + +
+ +Mozilla Bug 394800 +

+ +
+
+ + + + + diff --git a/layout/xul/test/test_bug398982-1.xhtml b/layout/xul/test/test_bug398982-1.xhtml new file mode 100644 index 0000000000..da6598b70d --- /dev/null +++ b/layout/xul/test/test_bug398982-1.xhtml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + diff --git a/layout/xul/test/test_bug398982-2.xhtml b/layout/xul/test/test_bug398982-2.xhtml new file mode 100644 index 0000000000..865e688ea3 --- /dev/null +++ b/layout/xul/test/test_bug398982-2.xhtml @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + diff --git a/layout/xul/test/test_bug467442.xhtml b/layout/xul/test/test_bug467442.xhtml new file mode 100644 index 0000000000..f0f84c3f86 --- /dev/null +++ b/layout/xul/test/test_bug467442.xhtml @@ -0,0 +1,53 @@ + + + + + + + + + + Mozilla Bug 467442 + + diff --git a/layout/xul/test/test_bug477754.xhtml b/layout/xul/test/test_bug477754.xhtml new file mode 100644 index 0000000000..338f95c62e --- /dev/null +++ b/layout/xul/test/test_bug477754.xhtml @@ -0,0 +1,51 @@ + + + + + + + diff --git a/layout/xul/test/test_bug511075.html b/layout/xul/test/test_bug511075.html new file mode 100644 index 0000000000..34e784ba56 --- /dev/null +++ b/layout/xul/test/test_bug511075.html @@ -0,0 +1,121 @@ + + + + + Test for Bug 511075 + + + + + + +Mozilla Bug 511075 +

+ +
+
+
+ + + diff --git a/layout/xul/test/test_bug563416.html b/layout/xul/test/test_bug563416.html new file mode 100644 index 0000000000..22abb5bdc3 --- /dev/null +++ b/layout/xul/test/test_bug563416.html @@ -0,0 +1,53 @@ + + + + + Test for Bug 563416 + + + + +Mozilla Bug 563416 +

+ +
+
+
+ + diff --git a/layout/xul/test/test_bug703150.xhtml b/layout/xul/test/test_bug703150.xhtml new file mode 100644 index 0000000000..4a7230bd49 --- /dev/null +++ b/layout/xul/test/test_bug703150.xhtml @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + +Mozilla Bug 703150 +

+ +
+
+ + + + +
diff --git a/layout/xul/test/test_bug987230.xhtml b/layout/xul/test/test_bug987230.xhtml new file mode 100644 index 0000000000..3161ad9d0e --- /dev/null +++ b/layout/xul/test/test_bug987230.xhtml @@ -0,0 +1,109 @@ + + + + + + + diff --git a/layout/xul/test/test_drag_thumb_in_link.html b/layout/xul/test/test_drag_thumb_in_link.html new file mode 100644 index 0000000000..7c39fd0f28 --- /dev/null +++ b/layout/xul/test/test_drag_thumb_in_link.html @@ -0,0 +1,76 @@ + + + + +Test for Bug 367028 + + + + + + +Mozilla Bug 367028 +

+ + + block anchorbigger block + + + + diff --git a/layout/xul/test/test_menuitem_ctrl_click.xhtml b/layout/xul/test/test_menuitem_ctrl_click.xhtml new file mode 100644 index 0000000000..99f7cba7c6 --- /dev/null +++ b/layout/xul/test/test_menuitem_ctrl_click.xhtml @@ -0,0 +1,80 @@ + + + + + + + diff --git a/layout/xul/test/test_popupReflowPos.xhtml b/layout/xul/test/test_popupReflowPos.xhtml new file mode 100644 index 0000000000..a26a833d13 --- /dev/null +++ b/layout/xul/test/test_popupReflowPos.xhtml @@ -0,0 +1,77 @@ + + + + + + + + .mbox { + display: inline-block; + width: 33%; + height: 50px; + background: green; + vertical-align: middle; + } + .orange { + background: orange; + } + .change > .mbox { + width: 60px; + } + + + + + + + + + + + + + + + + diff --git a/layout/xul/test/test_popupSizeTo.xhtml b/layout/xul/test/test_popupSizeTo.xhtml new file mode 100644 index 0000000000..6e60f28e0a --- /dev/null +++ b/layout/xul/test/test_popupSizeTo.xhtml @@ -0,0 +1,55 @@ + + + + + + + + + + + + + diff --git a/layout/xul/test/test_popupZoom.xhtml b/layout/xul/test/test_popupZoom.xhtml new file mode 100644 index 0000000000..5e253744f9 --- /dev/null +++ b/layout/xul/test/test_popupZoom.xhtml @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + diff --git a/layout/xul/test/test_resizer_ctrl_click.xhtml b/layout/xul/test/test_resizer_ctrl_click.xhtml new file mode 100644 index 0000000000..4ab6f405c1 --- /dev/null +++ b/layout/xul/test/test_resizer_ctrl_click.xhtml @@ -0,0 +1,47 @@ + + + + + + + + diff --git a/layout/xul/test/test_resizer_incontent.xhtml b/layout/xul/test/test_resizer_incontent.xhtml new file mode 100644 index 0000000000..2d29dd3f8d --- /dev/null +++ b/layout/xul/test/test_resizer_incontent.xhtml @@ -0,0 +1,42 @@ + + + + + + + + + + diff --git a/layout/xul/test/test_splitter.xhtml b/layout/xul/test/test_splitter.xhtml new file mode 100644 index 0000000000..32c4118c8c --- /dev/null +++ b/layout/xul/test/test_splitter.xhtml @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/layout/xul/test/test_splitter_sibling.xhtml b/layout/xul/test/test_splitter_sibling.xhtml new file mode 100644 index 0000000000..a2e00890c5 --- /dev/null +++ b/layout/xul/test/test_splitter_sibling.xhtml @@ -0,0 +1,88 @@ + + + + + + + diff --git a/layout/xul/test/test_submenuClose.xhtml b/layout/xul/test/test_submenuClose.xhtml new file mode 100644 index 0000000000..47337e61b9 --- /dev/null +++ b/layout/xul/test/test_submenuClose.xhtml @@ -0,0 +1,91 @@ + + + + + + + diff --git a/layout/xul/test/test_toolbarbutton_ctrl_click.xhtml b/layout/xul/test/test_toolbarbutton_ctrl_click.xhtml new file mode 100644 index 0000000000..b4f1bac5bf --- /dev/null +++ b/layout/xul/test/test_toolbarbutton_ctrl_click.xhtml @@ -0,0 +1,47 @@ + + + + + + + + diff --git a/layout/xul/test/test_windowminmaxsize.xhtml b/layout/xul/test/test_windowminmaxsize.xhtml new file mode 100644 index 0000000000..187732dd3d --- /dev/null +++ b/layout/xul/test/test_windowminmaxsize.xhtml @@ -0,0 +1,193 @@ + + + + + + + + + +

+

+ +
+
+ + +
diff --git a/layout/xul/test/titledpanelwindow.xhtml b/layout/xul/test/titledpanelwindow.xhtml new file mode 100644 index 0000000000..4289f8deab --- /dev/null +++ b/layout/xul/test/titledpanelwindow.xhtml @@ -0,0 +1,5 @@ + + + + diff --git a/layout/xul/test/windowminmaxsize1.xhtml b/layout/xul/test/windowminmaxsize1.xhtml new file mode 100644 index 0000000000..59f361aced --- /dev/null +++ b/layout/xul/test/windowminmaxsize1.xhtml @@ -0,0 +1,4 @@ + + + + diff --git a/layout/xul/test/windowminmaxsize10.xhtml b/layout/xul/test/windowminmaxsize10.xhtml new file mode 100644 index 0000000000..8b568d986f --- /dev/null +++ b/layout/xul/test/windowminmaxsize10.xhtml @@ -0,0 +1,4 @@ + + + + diff --git a/layout/xul/test/windowminmaxsize2.xhtml b/layout/xul/test/windowminmaxsize2.xhtml new file mode 100644 index 0000000000..fb72903dbd --- /dev/null +++ b/layout/xul/test/windowminmaxsize2.xhtml @@ -0,0 +1,4 @@ + + + + diff --git a/layout/xul/test/windowminmaxsize3.xhtml b/layout/xul/test/windowminmaxsize3.xhtml new file mode 100644 index 0000000000..ed6acbe2be --- /dev/null +++ b/layout/xul/test/windowminmaxsize3.xhtml @@ -0,0 +1,4 @@ + + + + diff --git a/layout/xul/test/windowminmaxsize4.xhtml b/layout/xul/test/windowminmaxsize4.xhtml new file mode 100644 index 0000000000..e29a48016e --- /dev/null +++ b/layout/xul/test/windowminmaxsize4.xhtml @@ -0,0 +1,4 @@ + + + + diff --git a/layout/xul/test/windowminmaxsize5.xhtml b/layout/xul/test/windowminmaxsize5.xhtml new file mode 100644 index 0000000000..7cbce93cc1 --- /dev/null +++ b/layout/xul/test/windowminmaxsize5.xhtml @@ -0,0 +1,4 @@ + + + + diff --git a/layout/xul/test/windowminmaxsize6.xhtml b/layout/xul/test/windowminmaxsize6.xhtml new file mode 100644 index 0000000000..abba98027a --- /dev/null +++ b/layout/xul/test/windowminmaxsize6.xhtml @@ -0,0 +1,4 @@ + + + + diff --git a/layout/xul/test/windowminmaxsize7.xhtml b/layout/xul/test/windowminmaxsize7.xhtml new file mode 100644 index 0000000000..f14e2ca4f8 --- /dev/null +++ b/layout/xul/test/windowminmaxsize7.xhtml @@ -0,0 +1,4 @@ + + + + diff --git a/layout/xul/test/windowminmaxsize8.xhtml b/layout/xul/test/windowminmaxsize8.xhtml new file mode 100644 index 0000000000..8beff9d32a --- /dev/null +++ b/layout/xul/test/windowminmaxsize8.xhtml @@ -0,0 +1,4 @@ + + + + diff --git a/layout/xul/test/windowminmaxsize9.xhtml b/layout/xul/test/windowminmaxsize9.xhtml new file mode 100644 index 0000000000..b4a06d4ff2 --- /dev/null +++ b/layout/xul/test/windowminmaxsize9.xhtml @@ -0,0 +1,4 @@ + + + + -- cgit v1.2.3