зеркало из https://github.com/mozilla/gecko-dev.git
82c88e59cb
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 |
||
---|---|---|
.. | ||
base | ||
build | ||
docs | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
painting | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |