servo/components/style/values/specified
Emilio Cobos Álvarez d74f90e3a7
style: Centralize calc function parsing.
So that extending it to support other math functions like min / max / etc is
simpler.

There should be no behavior change with this patch, though I added a comment to
some places where we don't do calc() clamping correctly (though other browsers
don't either so...).

Differential Revision: https://phabricator.services.mozilla.com/D59939
2020-02-12 02:43:12 +01:00
..
align.rs Cherry-pick some parts of the cssparser update. 2019-12-16 14:23:56 +01:00
angle.rs style: Centralize calc function parsing. 2020-02-12 02:43:12 +01:00
background.rs style: Reformat recent changes. 2019-04-12 12:20:14 +02:00
basic_shape.rs style: Use static_prefs::pref!. 2019-08-15 17:00:37 +02:00
border.rs 2020: paint borders 2019-10-24 15:06:20 +02:00
box.rs style: Make display: -moz-box more similar to other display types for block layout. 2020-02-12 02:43:09 +01:00
calc.rs style: Centralize calc function parsing. 2020-02-12 02:43:12 +01:00
color.rs style: Centralize calc function parsing. 2020-02-12 02:43:12 +01:00
column.rs style: Improve #[derive(Parse)]. 2019-02-23 21:04:44 -08:00
counters.rs style: Use cbindgen for content property. 2020-02-12 02:43:08 +01:00
easing.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
effects.rs style: rustfmt recent changes. 2019-07-08 12:45:56 +02:00
flex.rs style: Improve #[derive(Parse)]. 2019-02-23 21:04:44 -08:00
font.rs Rustfmt recent changes. 2019-12-16 14:23:56 +01:00
gecko.rs style: Split LengthPercentage again. 2020-02-12 02:43:10 +01:00
grid.rs style: Make some grid/grid-template values serialize to a shorter form. 2019-11-30 20:45:04 +01:00
image.rs Parse -moz-image-rect() and -moz-element() only in Gecko 2020-01-07 14:44:28 +01:00
length.rs style: Centralize calc function parsing. 2020-02-12 02:43:12 +01:00
list.rs style: [css-lists-3] Make 'none' invalid as a <counter-style> in counter()/counters(). 2019-09-12 22:34:16 +02:00
mod.rs style: Centralize calc function parsing. 2020-02-12 02:43:12 +01:00
motion.rs style: Add a preference for offset-path:ray(). 2019-11-30 20:45:03 +01:00
outline.rs style: Derive ToResolvedValue. 2019-04-12 12:20:09 +02:00
percentage.rs style: Centralize calc function parsing. 2020-02-12 02:43:12 +01:00
position.rs style: Move LengthPercentage to its own file. 2020-02-12 02:43:10 +01:00
rect.rs style: Use Rust types for some misc properties. 2019-02-23 21:04:33 -08:00
resolution.rs style: Add derived ToShmem implementations. 2019-04-12 12:19:52 +02:00
source_size_list.rs Remove unused code from selector and style crates 2019-06-07 15:14:21 +02:00
svg.rs style: Avoid manual paint-order glue code. 2019-09-12 22:34:16 +02:00
svg_path.rs style: Add new layer messages for passing motion path info. 2019-11-04 13:36:32 +01:00
text.rs style: Use less Au in font code. 2019-12-16 14:23:56 +01:00
time.rs style: Centralize calc function parsing. 2020-02-12 02:43:12 +01:00
transform.rs style: Rustfmt recent changes. 2019-11-30 20:45:07 +01:00
ui.rs style: Fix cursor prefixed aliases to do the right thing. 2019-08-15 16:57:41 +02:00
url.rs style: Use cbindgen for URIs. 2019-06-04 01:03:50 -04:00