dom/base/crashtests/1712198.html
author stransky <stransky@redhat.com>
Thu, 21 Oct 2021 13:15:02 +0000
changeset 596578 aceba6246b0e588f6fb1071dabb4d97159306b3c
parent 580611 ac170743db6e3739747938e47c51f57227662c72
permissions -rw-r--r--
Bug 1735095 [Wayland] When font/text scale factor is used, don't reposition popups for +-1 pixel moves, r=jhorak When font scale is used, move-to-rect popup positiong may end up in endless loop due to rounding error while popup position oscilates around layout position. We don't have a fox for that so let's disable such small popup movements when font scale is used. Depends on D129153 Differential Revision: https://phabricator.services.mozilla.com/D129154

<script>
document.addEventListener('DOMContentLoaded', () => {
  let a = document.documentElement
  SpecialPowers.wrap(self).printPreview().document.adoptNode(a)
  let b = document.createElementNS('http://www.w3.org/1999/xhtml', 'optgroup')
  a.appendChild(b)
  b.focus({ })
})
</script>