Description[FastTextAutosizer] Do not inflate table parts that do not need layout
FastTextAutosizer::inflateTable pre-inflates table cells so that
the table layout algorithm has an upper bound for table cell sizes.
After inflateTable pre-inflates cells, the layout pass will come
around and correctly size cells through beginLayout(). This patch
fixes a bug where cells were pre-inflated without later being laid out.
The bug that affected codereview.chromium.org and amazon.com both
involved nested tables with images. When images load, they can
force a layout up their parent chain because their size can change.
During layout, we would then call inflateTable and pre-inflate the
entire table but only the image's cell would actually get laid out.
BUG=357299
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171406
Patch Set 1 #Patch Set 2 : Fix TestExpectations #
Messages
Total messages: 12 (0 generated)
|