diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-08-08 00:39:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-08 00:39:05 -0500 |
commit | a83fed2144bc3c6ba5125d9b26d102b4e1e73b5a (patch) | |
tree | 1677b115e9523497c3e1b5465741d167c1a5d070 /etc/ci/performance/test_runner.py | |
parent | 0b9832119e9d42bc3ba4d8e4a4e573a03705de3e (diff) | |
parent | 2c2c60e44d7bb3b00a27f17745965703026e8d81 (diff) | |
download | servo-a83fed2144bc3c6ba5125d9b26d102b4e1e73b5a.tar.gz servo-a83fed2144bc3c6ba5125d9b26d102b4e1e73b5a.zip |
Auto merge of #12754 - stshine:no-divide-by-zero, r=pcwalton
Fix unexpected freeze of flex item
<!-- Please describe your changes on the following line: -->
Fix the currently logic that a item will freeze if it should
grow(shrink) and its basesize is less(more) than its min(max) size. This
also fix the divide by zero error when an item should shrink but it has
zero length and zero min size.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] There are tests for these changes
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12754)
<!-- Reviewable:end -->
Diffstat (limited to 'etc/ci/performance/test_runner.py')
0 files changed, 0 insertions, 0 deletions