servo/components/style
Tiaan Louw fb4501c5b4 style: Allow 'none' keyword in color components
Make use of the new changes in the cssparser that allows 'none' keywords
in color components where allowed.  We store the none values as 0.0 (as
per the spec) and mark the components with the flags. This way we don't
have to check anything on the components before doing calculations.

As this is the last part intended to be released for the new [color-4]
changes, I've also enabled the changes on nightly.

Differential Revision: https://phabricator.services.mozilla.com/D170208
2023-11-21 15:36:35 +01:00
..
color style: Allow 'none' keyword in color components 2023-11-21 15:36:35 +01:00
counter_style style: Use write_char in place of write_str when serializing single-character literals 2023-11-06 09:35:57 +01:00
gecko style: Record attribute dependencies within the selector list of :nth-child(... of <selector list>) 2023-11-21 15:36:35 +01:00
gecko_bindings style: Use write_char in place of write_str when serializing single-character literals 2023-11-06 09:35:57 +01:00
gecko_string_cache Miscellaneous build / tidy fixes. 2021-02-26 17:53:55 +01:00
invalidation Further changes required by Servo 2023-11-21 15:36:35 +01:00
media_queries style: Layer should be an invalid media type 2023-11-06 09:35:57 +01:00
properties Further changes required by Servo 2023-11-21 15:36:35 +01:00
queries style: Implement prefers-reduced-transparency media query 2023-11-21 15:36:35 +01:00
rule_tree style: Move size of tests to compile-time tests in the style crate 2023-08-16 17:46:41 +02:00
servo Further changes required by Servo 2023-11-21 15:36:35 +01:00
sharing style: Run "cargo +nightly fmt" for style components in servo 2023-11-03 08:59:49 +01:00
stylesheets style: Add (unused for now) parsing for support conditions in @import 2023-11-21 15:36:35 +01:00
use_counters
values style: Allow 'none' keyword in color components 2023-11-21 15:36:35 +01:00
animation.rs style: Share computed animation-iteration-count representation between Servo and Gecko 2023-11-06 09:35:57 +01:00
applicable_declarations.rs style: Run "cargo +nightly fmt" for style components in servo 2023-11-03 08:59:49 +01:00
attr.rs Further changes required by Servo 2023-11-06 09:35:57 +01:00
author_styles.rs style: Run rustfmt on servo/components/style and servo/ports/geckolib 2023-06-09 10:22:19 +02:00
bezier.rs style: Port bezier edge cases handling from C++ to Rust 2023-10-02 14:37:19 +00:00
bloom.rs Further changes required by Servo 2023-05-27 05:59:01 +02:00
build.rs Make the choice of layout runtime setting 2023-07-06 14:49:24 +02:00
build_gecko.rs style: Remove explicit rust target for bindgen in stylo 2023-11-04 08:17:09 +01:00
Cargo.toml Further changes required by Servo 2023-11-06 09:35:57 +01:00
context.rs style: Create timeline objects when mutating scroll-timeline property 2023-11-21 15:36:35 +01:00
custom_properties.rs style: Be consistent for which URIs we expose chrome rules 2023-11-21 15:36:35 +01:00
data.rs style: Don't share style for cousins that are using Container Queries 2023-11-04 08:17:09 +01:00
dom.rs style: Re-evaluate container queries when container gets display:contents 2023-11-04 08:17:09 +01:00
dom_apis.rs style: Implement selector matching for :nth-child(An+B of selector list) and :nth-last-child(An+B of selector list) 2023-11-04 08:17:09 +01:00
driver.rs style: Use ThreadPool::scope_fifo in style 2023-06-09 10:22:25 +02:00
encoding_support.rs
error_reporting.rs style: Implement CSS parsing for the @font-palette-values rule 2023-11-03 08:59:49 +01:00
font_face.rs style: Use write_char in place of write_str when serializing single-character literals 2023-11-06 09:35:57 +01:00
font_metrics.rs style: Use ScriptPercentScaleDown and ScriptScriptPercentScaleDown constants 2023-11-03 08:59:49 +01:00
global_style_data.rs Further changes required by Servo 2023-08-16 17:46:41 +02:00
lib.rs style: Implement color() function from CSS specification 2023-11-06 09:35:57 +01:00
logical_geometry.rs Temporarily convert more cfg(debug_assertions) crashes to warnings (#30590) 2023-10-20 10:19:41 +00:00
macros.rs style: Move line-clamp out of mako and do some adjacent clean-up 2023-11-03 08:59:49 +01:00
matching.rs style: Create timeline objects when mutating scroll-timeline property 2023-11-21 15:36:35 +01:00
parallel.rs Layout-2020: Fix debug mode crash for servo.org 2023-05-26 20:09:50 +05:30
parser.rs Rustfmt. 2021-02-26 16:44:05 +01:00
piecewise_linear.rs style: Use write_char in place of write_str when serializing single-character literals 2023-11-06 09:35:57 +01:00
README.md
rule_cache.rs style: Use used, rather than computed font-size for font-metric dependent units 2023-11-04 08:17:09 +01:00
rule_collector.rs style: More container queries plumbing 2023-08-16 17:46:41 +02:00
rustfmt.toml Disable formatting for components/style/ 2023-05-15 17:45:25 +02:00
scoped_tls.rs
selector_map.rs style: Allow propagating computed style bits from the selector-matching process 2023-11-03 08:59:49 +01:00
selector_parser.rs style: Use write_char in place of write_str when serializing single-character literals 2023-11-06 09:35:57 +01:00
shared_lock.rs style: Run rustfmt on servo/components/style and servo/ports/geckolib 2023-06-09 10:22:19 +02:00
str.rs Miscellaneous build / tidy fixes. 2021-02-26 17:53:55 +01:00
style_adjuster.rs style: Implement the font-synthesis-{weight,style,small-caps} longhand properties, and make font-synthesis into a shorthand 2023-11-06 09:35:57 +01:00
style_resolver.rs style: Implement selector matching for :nth-child(An+B of selector list) and :nth-last-child(An+B of selector list) 2023-11-04 08:17:09 +01:00
stylesheet_set.rs style: Share CascadeData instances across ShadowRoots 2023-05-16 13:00:08 +02:00
stylist.rs style: Record attribute dependencies within the selector list of :nth-child(... of <selector list>) 2023-11-21 15:36:35 +01:00
thread_state.rs
traversal.rs style: fix invalidation of sibling combinators in different slots 2023-11-03 08:59:49 +01:00
traversal_flags.rs

servo-style

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