LibWeb/CSS: Parse font-display descriptor

This commit is contained in:
Sam Atkins 2024-09-26 14:07:46 +01:00 committed by Andreas Kling
commit 3eb6d510fd
Notes: github-actions[bot] 2024-09-28 12:43:50 +00:00
7 changed files with 39 additions and 4 deletions

View file

@ -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)