author | Emilio Cobos Álvarez <emilio@crisal.io> |
Thu, 29 Aug 2019 21:25:12 +0000 | |
changeset 490740 | 49ff97acd5ce9f094430bf4538e7f32792201182 |
parent 490739 | 85d8c19fcc3c712b4c3515568a08688d968f7d7f |
child 490741 | 5202fd3daa100d65960e7f28e70da17672460413 |
push id | 36510 |
push user | csabou@mozilla.com |
push date | Fri, 30 Aug 2019 04:38:29 +0000 |
treeherder | mozilla-central@09f20d0f43cc [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | eeejay |
bugs | 1577258 |
milestone | 70.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
accessible/tests/mochitest/hittest/test_zoom_text.html | file | annotate | diff | comparison | revisions |
--- a/accessible/tests/mochitest/hittest/test_zoom_text.html +++ b/accessible/tests/mochitest/hittest/test_zoom_text.html @@ -20,16 +20,18 @@ var textNode = hyperText.firstChild; let [x, y, width, height] = getBounds(textNode); testOffsetAtPoint(hyperText, x + width / 2, y + height / 2, COORDTYPE_SCREEN_RELATIVE, hyperText.textContent.length / 2); zoomDocument(document, 2.0); + document.body.offsetTop; // getBounds doesn't flush layout on its own, looks like. + [x, y, width, height] = getBounds(textNode); testOffsetAtPoint(hyperText, x + width / 2, y + height / 2, COORDTYPE_SCREEN_RELATIVE, hyperText.textContent.length / 2); zoomDocument(document, 1.0); SimpleTest.finish();