Keep zero tracking ligatures enabled

This commit is contained in:
SGavrl committed 2026-07-30 22:51:49 +00:00
1 parent 474c2e97e0
commit caaf02e11c
2 files changed
+10 -4

No files matched your search

+2 -3
View File
@@ -363,9 +363,8 @@ pub struct LayoutStyle {
/// Deferred functional `letter-spacing` (`calc()`, `min()`, `clamp()`).
pub letter_spacing_expression: Option<String>,
/// Whether the computed value came from a non-`normal` declaration.
/// CSS suppresses optional ligatures for every non-normal value, including
/// an explicit zero; keeping this provenance avoids conflating it with the
/// `normal` initial value.
/// Keeping this provenance distinguishes an explicit zero from the
/// `normal` initial value while resolving the inherited property.
pub letter_spacing_non_normal: Option<bool>,
/// Specified CSS font weight during cascade (`1..1000`, `bolder`, or
/// `lighter`), normalized to its numeric computed value by the inheritance