From 9b2ce1a83dddf25a7413066ab2ef90736bc07fc3 Mon Sep 17 00:00:00 2001 From: Eitan Isaacson Date: Fri, 27 Sep 2019 01:51:07 +0000 Subject: [PATCH] Bug 1584297 - Simplify map element reflow whitespace test. r=Jamie Differential Revision: https://phabricator.services.mozilla.com/D47325 --HG-- extra : moz-landing-system : lando --- accessible/tests/mochitest/treeupdate/test_whitespace.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/accessible/tests/mochitest/treeupdate/test_whitespace.html b/accessible/tests/mochitest/treeupdate/test_whitespace.html index 9a7332eac06f..ebb199cfbe5e 100644 --- a/accessible/tests/mochitest/treeupdate/test_whitespace.html +++ b/accessible/tests/mochitest/treeupdate/test_whitespace.html @@ -136,10 +136,10 @@ } function dontCreateMapWhiteSpace() { - const tree = { SECTION: [ { role: ROLE_TEXT_LEAF, name: "x" }, { TABLE: [ { ROW: [] }] } ] }; + const tree = { SECTION: [ { role: ROLE_TEXT_LEAF, name: "x" } ] }; testAccessibleTree("container3", tree); - getNode("b").align = "Right"; + getNode("c3_inner").style.textAlign = "center"; document.body.offsetTop; // Flush layout. window.windowUtils.advanceTimeAndRefresh(100); @@ -191,7 +191,7 @@