aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/css.rs
diff options
context:
space:
mode:
author石博文 <sbw@sbw.so>2017-04-20 11:27:19 +0800
committer石博文 <sbw@sbw.so>2017-04-24 14:22:14 +0800
commit22f99c71b935d64a7734df783f3d1ec1c327b1c6 (patch)
treef4d2dc17c0fbc3632aeb6019cc13e6a4a3e517ed /components/script/dom/css.rs
parent5062c4b117dcd99df8ad46dae1b2dd4e6f1f0691 (diff)
downloadservo-22f99c71b935d64a7734df783f3d1ec1c327b1c6.tar.gz
servo-22f99c71b935d64a7734df783f3d1ec1c327b1c6.zip
Add to_computed method for CalcLengthOrPercentage
* Add to_computed method to calculate `calc()` value with parent size, if parent container size is `None`, the result will be `None`. * Add from_option method for `MaybeAuto`, to construct from `Option<Au>`. * Update some test case.
Diffstat (limited to 'components/script/dom/css.rs')
0 files changed, 0 insertions, 0 deletions