gecko-dev/servo/components/style
Boris Chiou 87c7ed9b72 Bug 1512883 - Part 1: Clamp to non-negative value after doing interpolation for circle(), ellipse(), and inset(). r=emilio,birtles
Replace LengthOrPercentage with NonNegativeLengthOrPercentage on
ShapeRadius, Circle, Ellipse. And derive ToAnimatedValue for ShapeSource and
its related types, so we clamp its interpolated results into non-negative
values. (i.e. The radius of circle()/ellipse() and the border-radius of
inset().)

Note: We may get negative values when using a negative easing function, so the
clamp is necessary to avoid the incorrect result or any undefined behavior.

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

--HG--
extra : moz-landing-system : lando
2018-12-19 19:08:08 +00:00
..
counter_style Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
gecko Bug 1512883 - Part 1: Clamp to non-negative value after doing interpolation for circle(), ellipse(), and inset(). r=emilio,birtles 2018-12-19 19:08:08 +00:00
gecko_bindings Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
gecko_string_cache Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
invalidation Bug 1512026 - Handle nested slots correctly in slotted matching and invalidation. r=heycam 2018-12-13 02:17:53 +00:00
media_queries Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
properties Bug 1512883 - Part 1: Clamp to non-negative value after doing interpolation for circle(), ellipse(), and inset(). r=emilio,birtles 2018-12-19 19:08:08 +00:00
rule_tree Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
servo Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
sharing Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
stylesheets Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
use_counters Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
values Bug 1512883 - Part 1: Clamp to non-negative value after doing interpolation for circle(), ellipse(), and inset(). r=emilio,birtles 2018-12-19 19:08:08 +00:00
animation.rs Bug 1511811 - Minor build fixup after the Servo crossbeam_channel update. 2018-12-03 08:48:25 -05:00
applicable_declarations.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
attr.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
author_styles.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
bezier.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
bloom.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
build_gecko.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
build.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
Cargo.toml Bug 1511811 - Update crossbeam-channel to 0.3. 2018-12-03 08:48:15 -05:00
cbindgen.toml Bug 1322780 - Part 1: Use cbindgen for ExtremumLength. r=emilio 2018-12-18 18:47:35 +00:00
context.rs Bug 1511811 - Update crossbeam-channel to 0.3. 2018-12-03 08:48:15 -05:00
custom_properties.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
data.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
dom_apis.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
dom.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
driver.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
element_state.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
encoding_support.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
error_reporting.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
font_face.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
font_metrics.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
hash.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
lib.rs Bug 1511811 - Update crossbeam-channel to 0.3. 2018-12-03 08:48:15 -05:00
logical_geometry.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
macros.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
matching.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
parallel.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
parser.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
README.md
rule_cache.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
rule_collector.rs Bug 1513920 - Make <use> shadow trees lookup keyframe rules in the containing tree. r=heycam 2018-12-17 13:14:19 +00:00
scoped_tls.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
selector_map.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
selector_parser.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
shared_lock.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
str.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
style_adjuster.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
style_resolver.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
stylesheet_set.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
stylist.rs Bug 1513920 - Make <use> shadow trees lookup keyframe rules in the containing tree. r=heycam 2018-12-17 13:14:19 +00:00
thread_state.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
timer.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
traversal_flags.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
traversal.rs Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00

servo-style

Style system for Servo, using rust-cssparser for parsing.