diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-04-24 04:16:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-24 04:16:18 -0500 |
commit | 418c3e8cc74b561c9c704da4dfdfb74681bf42a1 (patch) | |
tree | b6ddcc6bd0fba363df1b42ff17d418fa3b37843d /components/script | |
parent | 733820583e41778b8e30faa4ba120ab0b0390073 (diff) | |
parent | 22f99c71b935d64a7734df783f3d1ec1c327b1c6 (diff) | |
download | servo-418c3e8cc74b561c9c704da4dfdfb74681bf42a1.tar.gz servo-418c3e8cc74b561c9c704da4dfdfb74681bf42a1.zip |
Auto merge of #16541 - sbwtw:fix_calc_behavior, r=stshine
Add calc method for CalcLengthOrPercentage
* Add calc method to calculate formula value with parent size
* Add unit test case
<!-- Please describe your changes on the following line: -->
Please see this issue: https://github.com/servo/servo/issues/15986
---
<!-- 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] These changes fix #15986 (github issue number if applicable).
<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because _____
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- 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/16541)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script')
0 files changed, 0 insertions, 0 deletions