DescriptionConstrain width/height to minmax values
Width and height were not being constrained to min/max values.
Adds a ConstrainByMinMax to ng_lenght_utils
This makes another ~10 tests pass.
BUG=635619
Review-Url: https://codereview.chromium.org/2643043003
Cr-Commit-Position: refs/heads/master@{#445201}
Committed: https://chromium.googlesource.com/chromium/src/+/b5a30a4313c916119d0b137d3c2e0c53a2021a3b
Patch Set 1 #Patch Set 2 : Fix copypaste error: ResolveWidth->ResolveHeight #
Total comments: 6
Patch Set 3 : CR fixes #
Total comments: 2
Patch Set 4 : Clamp width/height to minmax values #
Dependent Patchsets: Messages
Total messages: 12 (5 generated)
|