[TablesNG] Autosizing bug fix
Autosizer was being called twice, which made some tests fail. 1st call was inside ComputeTableInlineSize, 2nd call was in Layout. Removed call in Layout, and now all autosizing tests look good. I do not understand autosizing code very well. My guess is that running autosizer twice in the same layout leads to bad things, because it tries to size already sized layout object, and ends up with a wrong multiplier. Without this, fast/text-autosizing/tables/table-cell-inflation.html fails. Change-Id: I5deba326d6f3b1b178f994a7bb03bef67ccc2cd6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2616750Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Aleks Totic <atotic@chromium.org> Cr-Commit-Position: refs/heads/master@{#841392}
Showing
Please register or sign in to comment