gecko-dev/servo/ports/geckolib
Emilio Cobos Álvarez 9b78285fd3 Bug 1609737 - Simplify calc expressions earlier. r=boris
This simplifies a bit the code, and guarantees that all calc()s have percentages
and lengths.

I also wanted to remove unclamped_length() / specified_percentage() (for the
same reason as the above patch), but they're needed for animations for now. When
I implement min() / max() for <length-percentage> they'll be fixed.

Differential Revision: https://phabricator.services.mozilla.com/D60194

--HG--
extra : moz-landing-system : lando
2020-01-23 00:36:34 +00:00
..
tests Bug 1601732 - Update in-tree dependencies to smallvec 1.0. r=glandium 2019-12-05 23:30:59 +00:00
Cargo.toml Bug 1601732 - Update in-tree dependencies to smallvec 1.0. r=glandium 2019-12-05 23:30:59 +00:00
cbindgen.toml Bug 1609737 - Forbid accessing the length and percentage parts of a LengthPercentage separately. r=boris 2020-01-23 00:36:27 +00:00
error_reporter.rs Bug 1537876 - Augment CSS errors with the CSS selector r=emilio 2019-03-27 12:12:55 +00:00
glue.rs Bug 1609737 - Simplify calc expressions earlier. r=boris 2020-01-23 00:36:34 +00:00
lib.rs Bug 1429305 - Use serde to serialize LengthPercentage and StyleRayFunction. r=emilio 2019-10-31 21:35:05 +00:00
stylesheet_loader.rs Bug 1602843 - Preserve CSS input exactly during sanitization. r=hsivonen 2019-12-12 13:57:54 +00:00