servo/components/style
Emilio Cobos Álvarez decc648c46 style: Fix number input so that it honors overflow-clip-box-block.
This never worked, but it's more visible with the new form controls which have
more padding.

Make the anonymous div and co a pseudo-element, so that they inherit from the
<input> properly in all cases. This works for non-number inputs because the
editor root is a direct child of the <input>, but it doesn't for number inputs
because there's a flex wrapper in between.

This way overflow-clip-box: inherit does what we want. Reset the padding in the
inline direction, as the padding for <input type=number> applies to the arrow
boxes as well, and thus we'd double-apply it.

Differential Revision: https://phabricator.services.mozilla.com/D65271
2020-04-16 16:35:07 +02:00
..
counter_style style: Use cbindgen for content property. 2020-02-12 02:43:08 +01:00
gecko style: Fix number input so that it honors overflow-clip-box-block. 2020-04-16 16:35:07 +02:00
gecko_bindings style: Remove unused FFI function to refcount nsIReferrerInfo. 2020-02-12 02:43:08 +01:00
gecko_string_cache style: Use cbindgen for content property. 2020-02-12 02:43:08 +01:00
invalidation style: Allow to export a shadow part under multiple names. 2020-04-16 16:35:07 +02:00
media_queries style: Fix Servo build. 2019-11-04 13:41:55 +01:00
properties style: Change the parsing order of border shorthands. 2020-04-16 16:35:07 +02:00
rule_tree style: Remove an invalid assert. 2020-04-16 16:35:07 +02:00
servo style: Allow to export a shadow part under multiple names. 2020-04-16 16:35:07 +02:00
sharing style: Rustfmt recent changes. 2020-02-12 02:43:23 +01:00
stylesheets style: Disallow @import rules for all Constructable StyleSheets functions. 2020-04-16 16:35:07 +02:00
use_counters style: Support css use counters for unimplemented properties. 2019-09-12 22:34:16 +02:00
values style: Unprefix existing CSS4 system colors. 2020-04-16 16:35:07 +02:00
animation.rs style: Refactor some animations code 2020-04-14 13:40:43 +02:00
applicable_declarations.rs style: Rustfmt recent changes. 2019-11-30 20:45:07 +01:00
attr.rs Update parse_length to match spec 2020-04-03 21:32:02 +02:00
author_styles.rs style: Remove support for XBL resources. 2019-05-07 12:55:29 +02:00
bezier.rs
bloom.rs style: Update smallvec to 1.0. 2019-12-16 14:23:56 +01:00
build.rs WebIDL codegen: Replace cmake with a single Python script 2019-09-27 13:53:19 +02:00
build_gecko.rs style: Report missing include filename in ServoBindings.toml. 2019-11-04 13:36:32 +01:00
Cargo.toml Update SpiderMonkey 2020-03-06 11:13:28 +01:00
context.rs Remove usage of opts::get() from style. 2019-10-21 13:44:31 -07:00
custom_properties.rs style: Rustfmt recent changes. 2020-02-12 02:43:23 +01:00
data.rs Remove unused code from selector and style crates 2019-06-07 15:14:21 +02:00
dom.rs style: Allow to export a shadow part under multiple names. 2020-04-16 16:35:07 +02:00
dom_apis.rs style: Implement shadow part forwarding (minus invalidation). 2019-11-30 20:45:03 +01:00
driver.rs Replace ScopedTLS::unsafe_get by ScopedTLS::into_slots 2020-04-05 01:20:39 +02:00
element_state.rs style: Prototype :focus-visible behind a flag. 2020-04-16 16:35:07 +02:00
encoding_support.rs Fix some new warnings 2019-06-22 14:59:09 +02:00
error_reporting.rs Make use of RefCell::try_borrow_unguarded 2019-04-12 19:02:07 +02:00
font_face.rs Update rand to 0.7 (fixes #24448) 2019-10-23 15:34:48 +02:00
font_metrics.rs Rustfmt recent changes. 2019-12-16 14:23:56 +01:00
global_style_data.rs style: Fix Servo build, and rustfmt recent changes. 2019-09-12 23:04:56 +02:00
hash.rs
lib.rs Use the matches! macro from the standard library 2020-02-12 10:08:31 +01:00
logical_geometry.rs Rustfmt recent changes. 2019-12-16 14:23:56 +01:00
macros.rs Stylo: replace uses of mem::uninitialized with MaybeUninit 2019-07-16 08:03:54 +02:00
matching.rs style: Refactor some animations code 2020-04-14 13:40:43 +02:00
parallel.rs style: Update smallvec to 1.0. 2019-12-16 14:23:56 +01:00
parser.rs Fix some new warnings 2019-06-22 14:59:09 +02:00
README.md
rule_cache.rs style: Undo minor debugging change. 2019-11-30 20:45:07 +01:00
rule_collector.rs style: Allow to export a shadow part under multiple names. 2020-04-16 16:35:07 +02:00
scoped_tls.rs Replace ScopedTLS::unsafe_get by ScopedTLS::into_slots 2020-04-05 01:20:39 +02:00
selector_map.rs style: Rustfmt recent changes. 2019-11-30 20:45:07 +01:00
selector_parser.rs
shared_lock.rs style: Fix Servo build. 2019-06-04 01:04:01 -04:00
str.rs Fix some new warnings 2019-06-22 14:59:09 +02:00
style_adjuster.rs style: Fix number input so that it honors overflow-clip-box-block. 2020-04-16 16:35:07 +02:00
style_resolver.rs style: Add a style flag for the root element style. 2020-02-12 02:43:18 +01:00
stylesheet_set.rs style: Minor cleanup of ServoStyleSet. 2020-04-16 16:35:07 +02:00
stylist.rs style: Update smallvec to 1.0. 2019-12-16 14:23:56 +01:00
thread_state.rs
timer.rs
traversal.rs style: Merge ImageLayer and Image. 2020-04-16 16:35:07 +02:00
traversal_flags.rs style: Cleanup unused style traversal flags. 2019-04-12 12:20:07 +02:00

servo-style

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