Description[FastTextAutosizer] Do not pre-inflate nested tables
Instead of pre-inflating all children in inflateTable(), this patch only
pre-inflates non-table children. This fixes a bug where nested tables
had their cell widths inflated with their parent table's multiplier but
ended up not being inflated at all--leading to extra wide cells.
This fixes a bug on codereview.chromium.org where people's names would
have extra space around them (http://pr.gg/tablewidth.png).
There is the potential for regressions with this change if a table has
enough text to autosize but where the width ends up being less than
100% of the containing <td>. The real world impact script showed no
changes on the top 100 websites and hackernews (the canonical nested-
table mess) renders fine after this change.
BUG=362930
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171420
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|