mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibWeb/CSS: Parse font-named-instance descriptor
This commit is contained in:
committed by
Andreas Kling
parent
3eb6d510fd
commit
7c50a31402
@@ -694,6 +694,11 @@ void dump_font_face_rule(StringBuilder& builder, CSS::CSSFontFaceRule const& rul
|
||||
|
||||
indent(builder, indent_levels + 1);
|
||||
builder.appendff("display: {}\n", CSS::to_string(font_face.font_display()));
|
||||
|
||||
if (font_face.font_named_instance().has_value()) {
|
||||
indent(builder, indent_levels + 1);
|
||||
builder.appendff("named-instance: {}\n", font_face.font_named_instance().value());
|
||||
}
|
||||
}
|
||||
|
||||
void dump_import_rule(StringBuilder& builder, CSS::CSSImportRule const& rule, int indent_levels)
|
||||
|
||||
Reference in New Issue
Block a user