gecko-dev/layout
Ting-Yu Lin 82c88e59cb Bug 1778931 Part 1 - Create a float's ReflowInput in FlowAndPlaceFloat() and pass it into ReflowFloat(). r=dholbert
There is some advantage to creating the float's ReflowInput in
FlowAndPlaceFloat().

1. ReflowFloat() doesn't need to output the float's margin and offset via the
   output arguments. FlowAndPlaceFloat() can get them from the local ReflowInput
   directly.

2. Since we are going to reflow the float, we have to create a ReflowInput
   anyway. FloatMarginISize() can take the ReflowInput and be simplified. No need
   to waste time to create a separate SizeComputationInput.

Also, delete the comment "Pass floatRS so the frame hierarchy can be
used (redoFloatRS has the same hierarchy)" because I believe it is obsolete.

This patch also lays the foundation for other improvements in the later patches.

Differential Revision: https://phabricator.services.mozilla.com/D151455
2022-07-26 04:54:36 +00:00
..
base Bug 1781102 - Remove assert count from a crashtest that no longer asserts. 2022-07-26 02:11:17 +02:00
build Bug 1773770: Part 1 - Remove defunct layout module. r=mccr8 2022-06-30 09:12:15 +00:00
docs Bug 1777324 - Move reftest README to firefox source documentation. r=tnikkel 2022-07-15 21:40:22 +00:00
forms Bug 1779602 - Remove nsImageGeometryMixin. r=tnikkel 2022-07-18 21:20:50 +00:00
generic Bug 1778931 Part 1 - Create a float's ReflowInput in FlowAndPlaceFloat() and pass it into ReflowFloat(). r=dholbert 2022-07-26 04:54:36 +00:00
inspector Bug 1778695 - Account for color-mix pref in test_bug877690. 2022-07-08 12:34:55 +00:00
ipc
mathml Bug 1779602 - Remove nsImageGeometryMixin. r=tnikkel 2022-07-18 21:20:50 +00:00
media
painting Bug 1780075 - Remove outline-style: auto pref. r=layout-reviewers,dholbert 2022-07-19 09:25:11 +00:00
printing Bug 1780788 - Use abstract strings as in-arguments for ipdl. r=nika,necko-reviewers,media-playback-reviewers,alwu,dragana 2022-07-25 20:19:48 +00:00
reftests Bug 1780996 - Adjust windows10 screen resolution to match physical hardware if using gpu instance. r=gbrown,jrmuizel 2022-07-25 17:33:50 +00:00
style Bug 1781102 - Make <hr> styles match the spec. r=TYLin 2022-07-25 19:54:41 +00:00
svg Bug 1780475 - Obey contain-intrinsic-size in ContainSizeAxes. r=emilio 2022-07-22 14:35:10 +00:00
tables Bug 1779602 - Remove nsImageGeometryMixin. r=tnikkel 2022-07-18 21:20:50 +00:00
tools Bug 1777324 - Move reftest README to firefox source documentation. r=tnikkel 2022-07-15 21:40:22 +00:00
xul Bug 1776498 - Use popup class with all popups. r=Jamie,handyman 2022-07-20 09:45:04 +00:00
moz.build