mirror of
https://github.com/servo/servo.git
synced 2025-10-16 08:20:22 +01:00
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 |
||
---|---|---|
.. | ||
arc_types.rs | ||
boxed_types.rs | ||
conversions.rs | ||
data.rs | ||
media_features.rs | ||
media_queries.rs | ||
mod.rs | ||
non_ts_pseudo_class_list.rs | ||
profiler.rs | ||
pseudo_element.rs | ||
pseudo_element_definition.mako.rs | ||
regen_atoms.py | ||
restyle_damage.rs | ||
selector_parser.rs | ||
snapshot.rs | ||
snapshot_helpers.rs | ||
traversal.rs | ||
url.rs | ||
values.rs | ||
wrapper.rs |