fune/layout
Timothy Nikkel 1bce68a06f Bug 1749661. Always fire visual viewport resize event even if first reflow. r=botond
I added this check in bug 1725569 because I said it matched other browsers. I'm not sure what testing I did there, or I made a mistake or what but the behaviour is not consistent between browsers.

For top level documents on initial load Safari sends a resize event, Chrome does not. Firefox sends a resize event.

For iframes Chrome and Safari send a resize event. Firefox usually sends a resize event.

Given the inconsistent behaviour here it seems better to err on the side of sending resize events because sites depend on it and might not work without it.

In the testcase from the bug I am able to reproduce about 20% of the time, and the problem is the first reflow check. So I'm removing that and I think it will fix the problem the user is seeing (which sounds to be more consistent).

Differential Revision: https://phabricator.services.mozilla.com/D135698
2022-01-18 08:37:52 +00:00
..
base Bug 1750330 - Move global LookAndFeel changes to mozilla::LookAndFeel. r=mstange 2022-01-17 16:34:11 +00:00
build Bug 1744009 - Simplify combobox <select> code. r=mconley,dholbert 2022-01-17 11:10:05 +00:00
docs Bug 1735445 - Add a few more examples to the CSS Gap Decorations draft spec. NPOTB DONTBUILD 2021-12-18 16:58:27 +00:00
forms Bug 1743047 - Use "reveal" rather than show terminology consistently for the reveal password button. r=Gijs,fluent-reviewers 2022-01-17 14:18:51 +00:00
generic Bug 1749661. Always fire visual viewport resize event even if first reflow. r=botond 2022-01-18 08:37:52 +00:00
inspector Bug 1746683 - Remove hwba since it's not a thing (hwb function supports alpha). 2021-12-20 02:53:31 +00:00
ipc
mathml Bug 1747922 - Rename StyleMathMLMathVariant -> StyleMathVariant. 2021-12-30 02:35:54 +01:00
media
painting Bug 1748216 - Ensure that we invalidate previously decoded images without a surface ready. r=jrmuizel 2022-01-04 22:01:26 +00:00
printing Bug 1663722: Make nsPageSequenceFrame gracefully handle SizeToContent calls. r=emilio 2022-01-13 06:08:51 +00:00
reftests Bug 1750146 - Support SWGL x-flipped composites via linear path. r=jrmuizel 2022-01-17 20:14:49 +00:00
style Bug 1743047 - Use "reveal" rather than show terminology consistently for the reveal password button. r=Gijs,fluent-reviewers 2022-01-17 14:18:51 +00:00
svg Bug 1743761 - Ensure we invalidate substituted images when the preferred size is ready. r=tnikkel 2021-12-03 03:14:01 +00:00
tables Bug 1741148 - part 3: Make users of nsINode::ComputeIndexOf_Deprecated() use nsINode::ComputeIndexOf() if the result is not set to int32_t nor return as int32_t r=smaug 2021-12-09 11:55:36 +00:00
tools Bug 1744091 - Update test harnesses to run with fission by default, except on android; r=perftest-reviewers,releng-reviewers,jmaher,AlexandruIonescu 2022-01-07 20:30:45 +00:00
xul Bug 1745113 Part 5 - Make grapheme cluster break iterators implement SegmentIteratorUtf16, and adapt the callers. r=necko-reviewers,jfkthame,kershaw 2022-01-13 18:36:04 +00:00
moz.build