servo/components/style/values/generics
Mats Palmgren d7e00ba03d style: Add some style quirks for legacy ::markers created from list-style-type/list-style-image
Specifically:
For "bullets", i.e. 'list-style-type:disc|circle|square|
disclosure-closed|disclosure-open', we use a built-in font
(-moz-bullet-font, which has glyphs for those symbols + space) to
retain mostly backwards compatible rendering for those.  Authors may
override that with an explicit 'font-family' ::marker style though.
We also use this font for 'list-style-image' in case it would
fallback to one of the above when the image fails to load (so that
we get the same width space).

When the -moz-bullet-font is used we also set 'font-synthesis' to
avoid synthesizing italic/bold for this font. Authors may override
this with an explicit ::marker declaration.

We also set 'letter-spacing' and 'word-spacing' to the initial value
for bullets for web-compat reasons.  Again, authors may override
this with an explicit ::marker declaration. (This breaks backwards-
compat slightly but makes us compatible with Chrome.  We used to
ignore these for list-style-type:<string> too.)

Differential Revision: https://phabricator.services.mozilla.com/D111693
2023-05-24 18:32:34 +02:00
..
background.rs style: Fix the serialization of the computed value of background-size. 2019-06-25 13:11:31 +02:00
basic_shape.rs Fix warnings introduced in newer Rust Nightly 2021-02-25 15:36:03 +01:00
border.rs style: Make various border-image-* properties interpolable. 2019-10-09 13:21:35 +02:00
box.rs style: Use rust types for vertical-align. 2019-05-07 12:55:41 +02:00
calc.rs Add support for the 'cap' font-relative unit 2023-05-10 03:02:30 +02:00
color.rs style: Implement accent-color in nsNativeBasicTheme 2023-05-19 19:06:08 +02:00
column.rs style: Derive ToResolvedValue. 2019-04-12 12:20:09 +02:00
counters.rs style: Support image-set in the content property 2023-05-16 12:54:05 +02:00
easing.rs animations: Don't convert linear easing to a bezier 2020-06-24 17:19:25 +02:00
effects.rs Fix warnings introduced in newer Rust Nightly 2021-02-25 15:36:03 +01:00
flex.rs style: Miscellaneous servo build fixes. 2020-06-04 01:50:36 +02:00
font.rs Fix warnings introduced in newer Rust Nightly 2021-02-25 15:36:03 +01:00
grid.rs style: Switch all callsites of try() to try_parse() in the style crate. 2020-06-18 23:51:14 +02:00
image.rs style: Support the type() function in image-set 2023-05-17 02:12:40 +02:00
length.rs style: Un-prefix -moz-tab-size (keeping the prefixed version as an alias for now) 2023-05-24 18:32:33 +02:00
mod.rs style: Add some style quirks for legacy ::markers created from list-style-type/list-style-image 2023-05-24 18:32:34 +02:00
motion.rs style: Use Serde for SVGOffsetPath. 2020-02-12 02:43:14 +01:00
page.rs style: Part 2 - Add page-size attribute to nsStyleStruct and property parsing 2023-05-16 13:02:53 +02:00
position.rs style: Implement Animate trait and ComputeSquaredDistance trait for <ratio>. 2021-02-26 16:44:05 +01:00
ratio.rs style: Implement Animate trait and ComputeSquaredDistance trait for <ratio>. 2021-02-26 16:44:05 +01:00
rect.rs style: Switch all callsites of try() to try_parse() in the style crate. 2020-06-18 23:51:14 +02:00
size.rs style: Switch all callsites of try() to try_parse() in the style crate. 2020-06-18 23:51:14 +02:00
svg.rs Fix warnings introduced in newer Rust Nightly 2021-02-25 15:36:03 +01:00
text.rs style: Switch all callsites of try() to try_parse() in the style crate. 2020-06-18 23:51:14 +02:00
transform.rs Bump euclid to 0.22 2023-01-26 08:59:21 +01:00
ui.rs style: Support image-set() on the cursor property 2023-05-16 12:50:55 +02:00
url.rs style: Update cbindgen. 2019-09-12 22:34:16 +02:00