gecko-dev/layout
Emilio Cobos Álvarez be6329111c Bug 1891335 - Compute EffectInfo updates at IntersectionObserver time. r=smaug,hiro
What goes on here is that there's a couple of unfortunate style change
sequences which end up making us not do the EffectsInfo dance correctly.

Twitter uses (maybe didn't use to, which would explain the regression) a
visibility: hidden, out-of-flow iframe for a bit (which we correctly
throttle). But then they switch to an in-flow, visible, zero-height
iframe. That we should _not_ throttle. However, we end up not getting to
the display list code at all, because nsBlockFrame decides that we don't
need to descend into an empty line[1].

It seems less error prone to re-use the IntersectionObserver timing and
computation to determine whether the iframe is visible. That completely
matches in-process iframes, too.

Removing the empty frame border and putting them on an empty line in
dom/base/test/test_bug1639328.html is enough to reproduce the issue
without this patch.

[1]: https://searchfox.org/mozilla-central/rev/fe2743c6c5c708061c7f6504b26958fcc815bb4a/layout/generic/nsBlockFrame.cpp#7569-7579

Differential Revision: https://phabricator.services.mozilla.com/D207479
2024-09-06 16:04:57 +00:00
..
base Bug 1891335 - Compute EffectInfo updates at IntersectionObserver time. r=smaug,hiro 2024-09-06 16:04:57 +00:00
build Bug 1901851 - Part 3: Make PRemoteWorkerService a toplevel actor which manages PRemoteWorker, r=dom-worker-reviewers,asuth 2024-06-24 23:19:26 +00:00
docs Bug 1896210 Part 4 - Address late review comments for Part 2. r=dholbert DONTBUILD 2024-05-20 18:01:16 +00:00
forms Bug 1909761 Part 4 - Construct a percentage basis when computing children's intrinsic inline size contributions. r=dholbert 2024-09-03 04:25:42 +00:00
generic Bug 1891335 - Compute EffectInfo updates at IntersectionObserver time. r=smaug,hiro 2024-09-06 16:04:57 +00:00
inspector Bug 1911216 - Part 1: Add CSS selector parsing support for view transition pseudo-elements. r=layout-reviewers,firefox-style-system-reviewers,emilio,devtools-reviewers,nchevobbe 2024-09-03 19:29:32 +00:00
ipc
mathml Bug 1904220 - Fix MathML regression with HYPHEN-MINUS not rendered as MINUS SIGN. r=emilio 2024-09-06 07:20:54 +00:00
painting Bug 1891335 - Compute EffectInfo updates at IntersectionObserver time. r=smaug,hiro 2024-09-06 16:04:57 +00:00
printing Bug 1915228 - Remove expired telemetry scalar printing.paper_size, r=TravisLong. 2024-08-28 19:44:33 +00:00
reftests Bug 1916907 - Support linear gradients in DrawTargetWebgl. r=aosmond 2024-09-05 17:24:16 +00:00
style Bug 1884876 - Add notification about stylesheets loaded from CSSLoader cache. r=necko-reviewers,emilio,arai 2024-09-06 14:47:23 +00:00
svg Bug 1909761 Part 4 - Construct a percentage basis when computing children's intrinsic inline size contributions. r=dholbert 2024-09-03 04:25:42 +00:00
tables Bug 1917056 Part 2 - Move the special logic for table frame out of IntrinsicForAxis(). r=layout-reviewers,emilio 2024-09-05 23:01:38 +00:00
tools Bug 1912570. Record/warn in reftests/crashtests if compositor is paused or window is fully occluded. r=jwatt 2024-08-23 09:39:55 +00:00
xul Bug 1909761 Part 2 - Create a helper struct IntrinsicSizeInput to aggregate needed data when computing intrinsic inline size. r=dholbert 2024-09-03 04:25:41 +00:00
moz.build Bug 1898601 - Remove fake webrtc/gkmedias libs. r=glandium,media-playback-reviewers,webrtc-reviewers,cubeb-reviewers,pehrsons,padenot 2024-05-28 16:14:47 +00:00