DescriptionDon't let current width affect preferred width on shrink-to-fit containers
When shrinking-to-fit a container don't let the current width affect its
preferred widths. This will happen if we let percent margins on child inlines
calculate themselves against the block's current calculated width. To avoid
this reset the container's width to zero so that percent margins are ignored
in the preferred width calculation.
BUG=598711
Review-Url: https://codereview.chromium.org/2802413002
Cr-Commit-Position: refs/heads/master@{#463378}
Committed: https://chromium.googlesource.com/chromium/src/+/037075a489638e0c6d8adf4a25184949efd36c1d
Patch Set 1 #Patch Set 2 : bug 598711 #Patch Set 3 : bug 598711 #
Total comments: 1
Patch Set 4 : bug 598711 #Patch Set 5 : bug 598711 #Patch Set 6 : bug 598711 #
Messages
Total messages: 27 (21 generated)
|