mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb/CSS: Parse font-display descriptor
This commit is contained in:
parent
19cb3d4c81
commit
3eb6d510fd
Notes:
github-actions[bot]
2024-09-28 12:43:50 +00:00
Author: https://github.com/AtkinsSJ
Commit: 3eb6d510fd
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1554
7 changed files with 39 additions and 4 deletions
|
@ -691,6 +691,9 @@ void dump_font_face_rule(StringBuilder& builder, CSS::CSSFontFaceRule const& rul
|
|||
indent(builder, indent_levels + 1);
|
||||
builder.appendff("line-gap-override: {}\n", font_face.line_gap_override().value());
|
||||
}
|
||||
|
||||
indent(builder, indent_levels + 1);
|
||||
builder.appendff("display: {}\n", CSS::to_string(font_face.font_display()));
|
||||
}
|
||||
|
||||
void dump_import_rule(StringBuilder& builder, CSS::CSSImportRule const& rule, int indent_levels)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue