servo/components
bors-servo 418c3e8cc7 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 -->
2017-04-24 04:16:18 -05:00
..
atoms Update string-cache. 2017-04-07 13:38:40 +02:00
bluetooth Use servo_config::opts only on linux target. 2017-03-21 15:55:45 +01:00
bluetooth_traits Update serde to 0.9 (fixes #15325) 2017-02-18 21:09:46 +01:00
canvas Update cssparser in Cargo.toml. 2017-04-07 16:07:37 +10:00
canvas_traits Update cssparser in Cargo.toml. 2017-04-07 16:07:37 +10:00
compositing Eliminate ScrollRootId 2017-04-20 08:51:38 +02:00
config Android life cycle improvements and Gradle integration 2017-04-21 18:24:10 +02:00
constellation Eliminate ScrollRootId 2017-04-20 08:51:38 +02:00
debugger Enable the debugger on Android 2017-03-17 16:36:06 +01:00
deny_public_fields Update syn to 0.11 2017-02-27 14:46:50 +01:00
devtools Fix indentation errors in servo rust code that tidy now finds. 2017-04-18 14:56:13 -04:00
devtools_traits Update Hyper and OpenSSL 2017-03-31 16:32:21 +02:00
dom_struct Make #[dom_struct] a proc_macro attribute 2017-02-24 01:50:51 +01:00
domobject_derive Update syn to 0.11 2017-02-27 14:46:50 +01:00
geometry Rename ScreenPx to DeviceIndependentPixel. 2017-02-22 14:37:24 +10:00
gfx Use NativeFontHandle instead of CGFont 2017-04-21 13:21:25 +10:00
gfx_traits Eliminate ScrollRootId 2017-04-20 08:51:38 +02:00
jstraceable_derive Update syn to 0.11 2017-02-27 14:46:50 +01:00
layout Auto merge of #16541 - sbwtw:fix_calc_behavior, r=stshine 2017-04-24 04:16:18 -05:00
layout_thread Auto merge of #16458 - stshine:sequential-fallback, r=pcwalton,emilio 2017-04-22 23:55:22 -05:00
layout_traits Make ImageCacheImpl have a single Mutex<ImageCacheStore> and use ImageDecoderRunnable 2017-03-27 19:54:15 +02:00
msg Eliminate ScrollRootId 2017-04-20 08:51:38 +02:00
net Fix indentation errors in servo rust code that tidy now finds. 2017-04-18 14:56:13 -04:00
net_traits Auto merge of #16288 - nox:net, r=jdm 2017-04-07 05:53:31 -05:00
profile Remove servo feature from servo_config 2017-04-07 17:44:22 +10:00
profile_traits Kill the plugins crate and its clippy support 2017-02-21 11:50:36 +01:00
rand squash: convert less interesting debug! logs to traces 2017-01-18 22:21:41 -07:00
range Update serde to 0.9 (fixes #15325) 2017-02-18 21:09:46 +01:00
remutex squash: convert less interesting debug! logs to traces 2017-01-18 22:21:41 -07:00
script stylo: Add basic system font support, use for font-size and font-family 2017-04-21 14:53:09 -07:00
script_layout_interface Eliminate ScrollRootId 2017-04-20 08:51:38 +02:00
script_plugins Upgrade to rustc 1.18.0-nightly (474f7a91e 2017-03-31) 2017-03-31 15:09:04 +02:00
script_traits Eliminate ScrollRootId 2017-04-20 08:51:38 +02:00
selectors Reorganize bits and make the flags usize. 2017-04-23 12:41:27 -07:00
servo Make image cache per-document rather than global 2017-03-27 19:54:13 +02:00
style Auto merge of #16541 - sbwtw:fix_calc_behavior, r=stshine 2017-04-24 04:16:18 -05:00
style_traits style: Add support for property value aliases. 2017-04-17 11:24:21 +10:00
url Remove servo feature from servo_url 2017-04-07 17:51:49 +10:00
webdriver_server Fix indentation errors in servo rust code that tidy now finds. 2017-04-18 14:56:13 -04:00
webvr Implement Gamepad API 2017-04-12 15:43:14 +02:00
webvr_traits Implement Gamepad API 2017-04-12 15:43:14 +02:00