fune/servo/components
石博文 43ec8829fb servo: Merge #16541 - Add calc method for CalcLengthOrPercentage (from sbwtw:fix_calc_behavior); r=stshine
* 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. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 418c3e8cc74b561c9c704da4dfdfb74681bf42a1

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1d48fb23022078c51f68df824ef6b0501c81b8cb
2017-04-24 04:16:18 -05:00
..
atoms servo: Merge #16301 - Update string-cache (from emilio:atoms-up); r=Wafflespeanut 2017-04-07 06:40:45 -05:00
bluetooth servo: Merge #16061 - Use servo_config::opts only on linux target (from methyl:master); r=Manishearth 2017-03-21 10:18:25 -07:00
bluetooth_traits
canvas servo: Merge #16296 - Update cssparser in Cargo.toml (from upsuper:cssparser); r=heycam 2017-04-07 01:10:25 -05:00
canvas_traits servo: Merge #16296 - Update cssparser in Cargo.toml (from upsuper:cssparser); r=heycam 2017-04-07 01:10:25 -05:00
compositing servo: Merge #16531 - Eliminate ScrollRootId (from mrobinson:clip-id); r=glennw 2017-04-20 01:55:33 -05:00
config servo: Merge #15773 - Android life cycle improvements and Gradle integration (from MortimerGoro:android_improvements); r=larsbergstrom,fabricedesre 2017-04-21 15:52:13 -05:00
constellation servo: Merge #16531 - Eliminate ScrollRootId (from mrobinson:clip-id); r=glennw 2017-04-20 01:55:33 -05:00
debugger servo: Merge #16013 - Enable the debugger on Android (from nox:mio); r=larsbergstrom 2017-03-17 08:36:27 -07:00
deny_public_fields
devtools servo: Merge #16495 - Make tidy check that opening and closing braces that begin a line do … (from coalman:tidy-brace-alignment); r=emilio 2017-04-19 03:06:31 -05:00
devtools_traits servo: Merge #15868 - Update Hyper and OpenSSL (from servo:hyper); r=jdm 2017-03-31 11:46:09 -05:00
dom_struct
domobject_derive
geometry
gfx servo: Merge #16551 - Update WR (improved double border quality, minor API changes) (from glennw:update-wr-mostly-borders); r=jdm 2017-04-23 17:50:08 -05:00
gfx_traits servo: Merge #16531 - Eliminate ScrollRootId (from mrobinson:clip-id); r=glennw 2017-04-20 01:55:33 -05:00
jstraceable_derive
layout servo: Merge #16541 - Add calc method for CalcLengthOrPercentage (from sbwtw:fix_calc_behavior); r=stshine 2017-04-24 04:16:18 -05:00
layout_thread servo: Merge #16458 - layout: Force reflow in the sequential fallback of block format context (from stshine:sequential-fallback); r=pcwalton,emilio 2017-04-22 23:55:22 -05:00
layout_traits servo: Merge #16048 - Make image cache per-document rather than global (from ferjm:issue-15701-image-cache); r=jdm 2017-03-27 13:50:46 -07:00
msg servo: Merge #16531 - Eliminate ScrollRootId (from mrobinson:clip-id); r=glennw 2017-04-20 01:55:33 -05:00
net servo: Merge #16495 - Make tidy check that opening and closing braces that begin a line do … (from coalman:tidy-brace-alignment); r=emilio 2017-04-19 03:06:31 -05:00
net_traits servo: Merge #16288 - Kill ResourceGroup (from nox:net); r=jdm 2017-04-07 05:53:31 -05:00
profile servo: Merge #16297 - Remove servo_url dependency for geckolib (from upsuper:stylo-servo-url); r=SimonSapin 2017-04-07 04:34:47 -05:00
profile_traits
rand
range
remutex
script servo: Merge #16564 - stylo: Support system fonts (from Manishearth:stylo-sys-2); r=xidorn 2017-04-21 17:03:28 -05:00
script_layout_interface servo: Merge #16531 - Eliminate ScrollRootId (from mrobinson:clip-id); r=glennw 2017-04-20 01:55:33 -05:00
script_plugins servo: Merge #16203 - Upgrade to rustc 1.18.0-nightly (474f7a91e 2017-03-31) (from servo:rustup); r=nox 2017-03-31 13:06:37 -05:00
script_traits servo: Merge #16531 - Eliminate ScrollRootId (from mrobinson:clip-id); r=glennw 2017-04-20 01:55:33 -05:00
selectors servo: Merge #16578 - Fix up the style sharing cache (from bholley:fix_style_sharing_cache); r=emilio 2017-04-23 14:45:29 -05:00
servo servo: Merge #16048 - Make image cache per-document rather than global (from ferjm:issue-15701-image-cache); r=jdm 2017-03-27 13:50:46 -07:00
style servo: Merge #16541 - Add calc method for CalcLengthOrPercentage (from sbwtw:fix_calc_behavior); r=stshine 2017-04-24 04:16:18 -05:00
style_traits servo: Merge #16488 - style: add Gecko-only support for sideways-{lr,rl} and deprecated SVG 1.1 writing-mode values (from heycam:wm); r=Manishearth 2017-04-16 20:26:18 -05:00
url servo: Merge #16297 - Remove servo_url dependency for geckolib (from upsuper:stylo-servo-url); r=SimonSapin 2017-04-07 04:34:47 -05:00
webdriver_server servo: Merge #16495 - Make tidy check that opening and closing braces that begin a line do … (from coalman:tidy-brace-alignment); r=emilio 2017-04-19 03:06:31 -05:00
webvr servo: Merge #16260 - Gamepad API implementation (from MortimerGoro:gamepad); r=nox,larsbergstrom 2017-04-13 16:10:42 -05:00
webvr_traits servo: Merge #16260 - Gamepad API implementation (from MortimerGoro:gamepad); r=nox,larsbergstrom 2017-04-13 16:10:42 -05:00