gecko-dev/servo/components/style
Emilio Cobos Álvarez 8814b4ab14 Bug 1706223 - Fix whitespace handling in clamp() parsing. r=xidorn
We should just restore the state when seeing whitespace and an unknown
token like when we do when finding any other token a few lines below.

This is not an issue for most callers (it's only an issue for clamp())
because the other callers use either `parse_comma_separated()` (for
min/max), or `parse_nested_block()` (for parens / nested calc()).

Both of those functions restrict the input in such a way that
is_exhausted returns true (a few lines above) and thus we parse
successfully.

Differential Revision: https://phabricator.services.mozilla.com/D112681
2021-04-21 13:39:13 +00:00
..
counter_style Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
gecko Bug 1701691 - -moz-toolbar-prefers-color-scheme for dark theme detection r=desktop-theme-reviewers,emilio,harry 2021-04-18 22:22:49 +00:00
gecko_bindings Bug 1684673 - Inline nsTArray::deref. r=xidorn 2021-01-02 17:37:45 +00:00
gecko_string_cache Bug 1695251 - Cherry-pick various servo changes. 2021-02-26 17:00:55 +00:00
invalidation Bug 1697998 - Invalidate a bit more aggressively when a pseudo-element matches, in order to also invalidate the cached pseudo-styles on the parent. r=mats 2021-03-15 21:05:01 +00:00
media_queries Bug 1705168: Enable forced-colors in UA and chrome always r=emilio 2021-04-14 21:33:11 +00:00
properties Bug 1705509 - Hide -moz-outline-radius behind a pref. r=mstange 2021-04-16 01:01:45 +00:00
rule_tree
servo Bug 1695251 - Cherry-pick various servo changes. 2021-02-26 17:00:55 +00:00
sharing Bug 1678881 - Avoid some allocations in selector serialization. r=xidorn 2020-11-22 01:02:22 +00:00
stylesheets Bug 1704179 - Add a CSS error to the console when using non-featureless :host selectors. r=boris 2021-04-15 09:33:58 +00:00
use_counters
values Bug 1706223 - Fix whitespace handling in clamp() parsing. r=xidorn 2021-04-21 13:39:13 +00:00
Cargo.toml Bug 1697842 - Don't specify a rayon minor version in Cargo.toml. r=jrmuizel 2021-03-11 18:23:01 +00:00
README.md
animation.rs Bug 1695251 - Cherry-pick various servo changes. 2021-02-26 17:00:55 +00:00
applicable_declarations.rs
attr.rs Bug 1695251 - Cherry-pick various servo changes. 2021-02-26 17:00:55 +00:00
author_styles.rs Bug 1696447 - Share CascadeData instances across ShadowRoots. r=boris 2021-03-10 12:34:09 +00:00
bezier.rs
bloom.rs Bug 1704551 - Add attribute names to the bloom filter. r=boris 2021-04-13 10:53:40 +00:00
build.rs
build_gecko.rs Bug 1695165 - Fix warnings introduced in newer Rust Nightly. r=jdm,emilio 2021-02-26 10:55:26 +01:00
context.rs Bug 1696409 - Paper over a crash in non-nightly. r=boris 2021-03-08 23:29:30 +00:00
custom_properties.rs Bug 1693886 - Increase custom property size limit a bit. r=xidorn 2021-02-23 10:43:03 +00:00
data.rs
dom.rs Bug 1704551 - Add attribute names to the bloom filter. r=boris 2021-04-13 10:53:40 +00:00
dom_apis.rs Bug 1695251 - Cherry-pick various servo changes. 2021-02-26 17:00:55 +00:00
driver.rs
element_state.rs Bug 1682030 - Clean up NPAPI plugin fallback behavior. r=jmathies,emilio 2021-04-06 19:28:18 +00:00
encoding_support.rs
error_reporting.rs Bug 1704179 - Add a CSS error to the console when using non-featureless :host selectors. r=boris 2021-04-15 09:33:58 +00:00
font_face.rs Bug 1698495 - Add the size-adjust descriptor to the style system. r=emilio 2021-03-29 21:14:43 +00:00
font_metrics.rs Backed out changeset 20fadec3e9dc (bug 1187682) for perma failures on layout/reftests/mathml/stretchy-munderover-1c.html. CLOSED TREE 2020-10-02 17:11:33 +03:00
global_style_data.rs Bug 1695251 - Cherry-pick various servo changes. 2021-02-26 17:00:55 +00:00
hash.rs
lib.rs Bug 1695251 - Cherry-pick various servo changes. 2021-02-26 17:00:55 +00:00
logical_geometry.rs
macros.rs Bug 1695251 - Cherry-pick various servo changes. 2021-02-26 17:00:55 +00:00
matching.rs Bug 1678881 - Run latest rustfmt in servo/. r=xidorn 2020-11-22 00:41:29 +00:00
parallel.rs
parser.rs Bug 1551040 - Allow resource:// stylesheets to use chrome-only rules. r=boris 2021-01-17 15:07:49 +00:00
rule_cache.rs
rule_collector.rs Bug 1678881 - Avoid some allocations in selector serialization. r=xidorn 2020-11-22 01:02:22 +00:00
scoped_tls.rs
selector_map.rs Bug 1696447 - Share CascadeData instances across ShadowRoots. r=boris 2021-03-10 12:34:09 +00:00
selector_parser.rs Bug 1696447 - Share CascadeData instances across ShadowRoots. r=boris 2021-03-10 12:34:09 +00:00
shared_lock.rs
str.rs Bug 1682003 - Avoid UTF-8 -> UTF-16 conversion during CSSOM serialization. r=heycam 2020-12-17 14:04:35 +00:00
style_adjuster.rs Bug 1695251 - Cherry-pick various servo changes. 2021-02-26 17:00:55 +00:00
style_resolver.rs Bug 1678881 - Run latest rustfmt in servo/. r=xidorn 2020-11-22 00:41:29 +00:00
stylesheet_set.rs Bug 1696447 - Share CascadeData instances across ShadowRoots. r=boris 2021-03-10 12:34:09 +00:00
stylist.rs Bug 1696447 - Share CascadeData instances across ShadowRoots. r=boris 2021-03-10 12:34:09 +00:00
thread_state.rs
traversal.rs Bug 1669858 - Use Option::as_deref() in style code. r=xidorn 2020-10-08 09:42:49 +00:00
traversal_flags.rs

README.md

servo-style

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