Bug 1584297 - Simplify map element reflow whitespace test. r=Jamie

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Eitan Isaacson 2019-09-27 01:51:07 +00:00
Родитель 84795d8770
Коммит 9b2ce1a83d
1 изменённых файлов: 3 добавлений и 3 удалений

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

@ -136,10 +136,10 @@
} }
function dontCreateMapWhiteSpace() { 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); testAccessibleTree("container3", tree);
getNode("b").align = "Right"; getNode("c3_inner").style.textAlign = "center";
document.body.offsetTop; // Flush layout. document.body.offsetTop; // Flush layout.
window.windowUtils.advanceTimeAndRefresh(100); window.windowUtils.advanceTimeAndRefresh(100);
@ -191,7 +191,7 @@
<div id="container3"> <div id="container3">
<div id="c3_inner" role="presentation"> <div id="c3_inner" role="presentation">
x<map> </map><table id="b"><tr></tr></table> x<map> </map>
</div> </div>
</div> </div>