servo/tests/unit/style
Martin Robinson 77e9e3deba
fonts: Add support for generic font families and font size configuration (#32673)
This adds support for generic font families in Servo and allows for
configuration of them as well as their default font sizes. One
interesting fix here is that now monospace default to 13px, like it does
in other browsers.

In addition to that, this exposes a new interface in Stylo which allows
setting a default style. This is quite useful for fonts, but also for
other kinds of default style settings -- like text zoom.

Fixes #8371.
Fixes #14773.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2024-07-08 17:17:48 +00:00
..
parsing clippy: fix warnings on modules outside components (#31567) 2024-03-07 23:42:39 +00:00
properties Move Stylo to its own repo (#31350) 2024-02-27 15:39:06 +00:00
rule_tree Update Stylo to 2023-09-01 (#31609) 2024-03-18 13:52:40 +00:00
animated_properties.rs Update Stylo to 2023-10-16 (#31932) 2024-03-30 13:30:13 +00:00
attr.rs Update parse_length to match spec 2020-04-03 21:32:02 +02:00
build.rs Move Stylo to its own repo (#31350) 2024-02-27 15:39:06 +00:00
Cargo.toml Move Stylo to its own repo (#31350) 2024-02-27 15:39:06 +00:00
custom_properties.rs fonts: Add support for generic font families and font size configuration (#32673) 2024-07-08 17:17:48 +00:00
lib.rs style: Remove dependency on servo_url (#31358) 2024-02-16 11:56:35 +00:00
logical_geometry.rs style: Fix unit tests. 2019-10-09 14:03:25 +02:00
str.rs clippy: fix warnings on modules outside components (#31567) 2024-03-07 23:42:39 +00:00
stylesheets.rs Update Stylo to 2023-09-01 (#31609) 2024-03-18 13:52:40 +00:00
stylist.rs fonts: Add support for generic font families and font size configuration (#32673) 2024-07-08 17:17:48 +00:00