Auto merge of #16428 - stshine:box-sizing, r=emilio

layout: Floor to 0 when computing intrinsic sizes with box-sizing:border-box

<!-- Please describe your changes on the following line: -->

Improves bitbucket.

---
<!-- 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
- [ ] These changes fix #__ (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/16428)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-04-18 05:30:45 -05:00 committed by GitHub
commit 349ddb555a
4 changed files with 62 additions and 1 deletions

View file

@ -3131,6 +3131,18 @@
{}
]
],
"css/intrinsic_border_box.html": [
[
"/_mozilla/css/intrinsic_border_box.html",
[
[
"/_mozilla/css/intrinsic_border_box_ref.html",
"=="
]
],
{}
]
],
"css/issue-1324.html": [
[
"/_mozilla/css/issue-1324.html",
@ -8085,6 +8097,11 @@
{}
]
],
"css/intrinsic_border_box_ref.html": [
[
{}
]
],
"css/issue-1324-ref.html": [
[
{}
@ -22132,6 +22149,14 @@
"c78c6c992e47adb47ba00b621210ae8564d46389",
"support"
],
"css/intrinsic_border_box.html": [
"261487f82f350ab020f49f362993b26711a89b5b",
"reftest"
],
"css/intrinsic_border_box_ref.html": [
"9a8f19331c748658b71c85b823b5b3db68e4b7a4",
"support"
],
"css/issue-1324-ref.html": [
"ef2253d5045622f54634dbfa6b6abdef6b6e00a7",
"support"