servo/components
bors-servo b0f91193fd Auto merge of #13681 - gpoesia:master, r=mbrubeck
Fix margin size calculation for TableWrapper

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

Fixes inline size calculation for TableWrapper. The table's width was always reaching the inline size equation solver as a specified variable, which was causing the system to be overdetermined when there was a margin specified for the table, and this caused the overflow reported in #12748. The fix consists in handling three cases when the table's width is not specified: if the preferred size of all columns fits, it is returned; if the minimum size does not fit, it is returned instead (it will overflow), otherwise, it is returned as a free variable (that should be solved together with the margin to some value above the minimum width and below the preferred width).

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #12748
- [X] There are tests for these changes

<!-- 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/13681)

<!-- Reviewable:end -->
2017-01-23 08:55:44 -08:00
..
atoms Kill beforescriptexecute and afterscriptexecute (fixes #12446) 2017-01-14 16:16:53 +01:00
bluetooth Use tinyfiledialogs from crates.io 2017-01-05 16:59:44 -05:00
bluetooth_traits Update regex. 2017-01-16 13:11:16 +01:00
canvas Auto merge of #14917 - fkautz:pr_out_renaming_default_features_to_default_features_as_per_cargo_s_manifest_format, r=emilio 2017-01-09 07:35:28 -08:00
canvas_traits Auto merge of #14917 - fkautz:pr_out_renaming_default_features_to_default_features_as_per_cargo_s_manifest_format, r=emilio 2017-01-09 07:35:28 -08:00
compositing Auto merge of #14141 - samuknet:home-end-key-scroll2, r=glennw 2017-01-23 07:26:00 -08:00
config Remove -w flag now that WebRender is always used 2017-01-20 02:05:50 -05:00
constellation Auto merge of #15129 - cynicaldevil:iframe-resize, r=emilio 2017-01-23 06:08:02 -08:00
debugger Removed util. 2016-12-14 18:04:37 -06:00
devtools Upgrade to rustc 1.16.0-nightly (6f1ae663e 2017-01-06) 2017-01-06 17:43:31 +01:00
devtools_traits Upgrade to rustc 1.16.0-nightly (6f1ae663e 2017-01-06) 2017-01-06 17:43:31 +01:00
geometry Removed util. 2016-12-14 18:04:37 -06:00
gfx Implement downloadable fonts on Windows 2017-01-18 13:30:58 -05:00
gfx_traits Move DevicePixel to script_traits. 2017-01-11 15:27:14 +01:00
jstraceable_derive Upgrade to rustc 1.16.0-nightly (6f1ae663e 2017-01-06) 2017-01-06 17:43:31 +01:00
layout Auto merge of #13681 - gpoesia:master, r=mbrubeck 2017-01-23 08:55:44 -08:00
layout_thread Auto merge of #15129 - cynicaldevil:iframe-resize, r=emilio 2017-01-23 06:08:02 -08:00
layout_traits Renaming default_features to default-features as per Cargo's Manifest Format 2017-01-08 19:24:19 -08:00
msg Renaming default_features to default-features as per Cargo's Manifest Format 2017-01-08 19:24:19 -08:00
net Renaming default_features to default-features as per Cargo's Manifest Format 2017-01-08 19:24:19 -08:00
net_traits Update image. 2017-01-11 14:37:17 +01:00
plugins Update regex. 2017-01-16 13:11:16 +01:00
profile Update regex. 2017-01-16 13:11:16 +01:00
profile_traits WebVR API Implementation, r=larsbergstrom 2017-01-09 12:44:39 +01:00
rand squash: convert less interesting debug! logs to traces 2017-01-18 22:21:41 -07:00
range Upgrade to rustc 1.16.0-nightly (6f1ae663e 2017-01-06) 2017-01-06 17:43:31 +01:00
remutex squash: convert less interesting debug! logs to traces 2017-01-18 22:21:41 -07:00
script Auto merge of #15136 - nox:mitochondria-finally-makes-it-into-the-tree, r=jdm 2017-01-23 03:17:33 -08:00
script_layout_interface Update selectors to 0.15.1 2017-01-23 14:51:10 +08:00
script_traits Auto merge of #15129 - cynicaldevil:iframe-resize, r=emilio 2017-01-23 06:08:02 -08:00
servo Remove browserhtml dependency from components/servo 2017-01-17 13:21:50 +01:00
style Update selectors to 0.15.1 2017-01-23 14:51:10 +08:00
style_traits Upgrade to rustc 1.16.0-nightly (6f1ae663e 2017-01-06) 2017-01-06 17:43:31 +01:00
url Omit the 'ServoUrl()' wrapping in ServoUrl's Debug implementation. 2017-01-18 15:43:29 +01:00
webdriver_server Update regex. 2017-01-16 13:11:16 +01:00
webvr WebVR API Implementation, r=larsbergstrom 2017-01-09 12:44:39 +01:00
webvr_traits WebVR API Implementation, r=larsbergstrom 2017-01-09 12:44:39 +01:00