fune/layout
Emilio Cobos Álvarez ff5baf3e9e Bug 1906132 - Propagate BResize flag from viewport frame to root scroll frame. r=dholbert a=RyanVM
The regression range is baffling, but it just shows a missing
invalidation.

The extension has worked around this upstream:

  a48ff54cf6

But the root cause is a bug in Firefox. The popup here had styles much
like:

```
html, body, #root {
  height: 100%;
  min-height: 100%;
  width: auto;
  min-width: 320px;
}
```

The popup starts off zero-sized, but then gets re-measured async at some
point by the extension code.

Main issue here is that, due to the bresize, we reflow the viewport,
then the html, but the html loses the bresize flag. So we don't reflow
the body element to give it the right height.

Before my patch, the body was reflowed because there was a BFC under it,
so it had the NS_BLOCK_HAS_CLEAR_CHILDREN flag, which ended up papering
over this bug.

I think this can only happen with the special shrink-wrap resize mode,
because it's the only thing that can turn a percentage bsize like 100%
from behaving like a percentage to behave like auto... So I haven't been
able to reproduce outside of our extension popup usage. Otherwise the
percentages resolving to different things would set the bresize flag
appropriately.

Differential Revision: https://phabricator.services.mozilla.com/D215842
2024-07-05 17:50:41 +00:00
..
base Bug 1902540 - Don't remove first rbc child if still needed. r=dholbert, a=dmeehan 2024-06-21 22:25:27 +00:00
build Bug 196078 - Part 2: Support displaying arbitrary text/* MIME types as plain text, r=smaug,necko-reviewers,valentin 2024-06-05 00:05:58 +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 1877969 - Consume user activation when showing any picker a=dmeehan 2024-07-17 12:27:36 +00:00
generic Bug 1906132 - Propagate BResize flag from viewport frame to root scroll frame. r=dholbert a=RyanVM 2024-07-05 17:50:41 +00:00
inspector Bug 1899107 - [devtools] Display light-dark function in autocomplete. r=layout-reviewers,emilio. 2024-06-05 13:53:08 +00:00
ipc
mathml Bug 1899894 - Remove debug statements that require customized #define. r=layout-reviewers,emilio 2024-05-31 17:45:44 +00:00
painting Bug 1900879 - part 2: Remove unused PaintTracker r=layout-reviewers,TYLin 2024-06-06 22:10:42 +00:00
printing Bug 1896762 - Make animation timing match the spec. r=smaug,firefox-animation-reviewers,boris 2024-05-17 16:33:06 +00:00
reftests Bug 1800740 - increase fuzziness of various tests r=emilio a=test-only 2024-06-24 10:19:46 +00:00
style Bug 1901764 - Make select label not react to events. r=dholbert, a=dmeehan 2024-06-24 18:45:43 +00:00
svg Bug 1906978 - Fix the positioning/anchoring of SVG text runs with bidi control characters. a=dmeehan 2024-07-17 15:08:42 +00:00
tables Bug 1907289 - Reflow table cell if collapsed borders have changed. r=dshin, a=dmeehan 2024-07-12 15:05:32 +00:00
tools Bug 1896684 - Update iteritems to items in reftestcommandline.py. r=jmaher 2024-05-16 04:36:34 +00:00
xul Bug 1899894 - Remove debug statements that require customized #define. r=layout-reviewers,emilio 2024-05-31 17:45:44 +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