mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
Bug 1871023 - Trivially fix some orange.
MANUAL PUSH: Trivial orange fix CLOSED TREE
This commit is contained in:
parent
9bbc53b438
commit
06608371e0
@ -6,7 +6,7 @@
|
||||
/* import-globals-from ../../mochitest/role.js */
|
||||
loadScripts({ name: "role.js", dir: MOCHITESTS_DIR });
|
||||
|
||||
// Verify we recieve hide and show notifications when the chrome
|
||||
// Verify we receive hide and show notifications when the chrome
|
||||
// XUL alert is closed or opened. Mac expects both notifications to
|
||||
// properly communicate live region changes.
|
||||
async function runTests(browser) {
|
||||
@ -31,13 +31,9 @@ async function runTests(browser) {
|
||||
ok(isAccessible(PopupNotifications.panel), "Popup panel is accessible");
|
||||
testAccessibleTree(PopupNotifications.panel, {
|
||||
ALERT: [
|
||||
{
|
||||
TEXT_CONTAINER: [
|
||||
{ LABEL: [{ TEXT_LEAF: [] }] },
|
||||
{ PUSHBUTTON: [] },
|
||||
{ PUSHBUTTON: [] },
|
||||
],
|
||||
},
|
||||
{ LABEL: [{ TEXT_LEAF: [] }] },
|
||||
{ PUSHBUTTON: [] },
|
||||
{ PUSHBUTTON: [] },
|
||||
],
|
||||
});
|
||||
// Verify the popup panel is associated with the chrome window.
|
||||
|
@ -45,11 +45,7 @@ add_task(async function testPopupBorderRadius() {
|
||||
let arrowContent = panel.panelContent;
|
||||
|
||||
let panelStyle = getComputedStyle(arrowContent);
|
||||
is(
|
||||
panelStyle.overflow,
|
||||
"hidden",
|
||||
"overflow is not hidden, thus it doesn't clip"
|
||||
);
|
||||
is(panelStyle.overflow, "clip", "overflow is clipped");
|
||||
|
||||
let stack = browser.parentNode;
|
||||
let viewNode = stack.parentNode === panel ? browser : stack.parentNode;
|
||||
|
Loading…
Reference in New Issue
Block a user