Pier Angelo Vendrame pushed to branch tor-browser-102.6.0esr-12.5-1 at The Tor Project / Applications / Tor Browser
Commits:
-
a191ab73
by hackademix at 2023-01-12T23:47:27+01:00
1 changed file:
Changes:
... | ... | @@ -413,9 +413,10 @@ class _RFPHelper { |
413 | 413 | [containerWidth, containerHeight],
|
414 | 414 | ] = await win.promiseDocumentFlushed(() =>
|
415 | 415 | // Read layout info only inside this callback and do not write, to avoid additional reflows
|
416 | - [aBrowser, browserParent, browserContainer]
|
|
417 | - .map(e => e.getBoundingClientRect())
|
|
418 | - .map(r => [r.width, r.height])
|
|
416 | + [aBrowser, browserParent, browserContainer].map(element => [
|
|
417 | + element.clientWidth,
|
|
418 | + element.clientHeight,
|
|
419 | + ])
|
|
419 | 420 | );
|
420 | 421 | |
421 | 422 | log(
|