LibWeb/CSS: Parse font-width descriptor and its font-stretch alias

This commit is contained in:
Sam Atkins 2024-09-27 14:27:55 +01:00 committed by Andreas Kling
commit b1870e7029
Notes: github-actions[bot] 2024-09-28 12:43:32 +00:00
5 changed files with 24 additions and 6 deletions

View file

@ -662,6 +662,11 @@ void dump_font_face_rule(StringBuilder& builder, CSS::CSSFontFaceRule const& rul
builder.appendff("slope: {}\n", font_face.slope().value());
}
if (font_face.width().has_value()) {
indent(builder, indent_levels + 1);
builder.appendff("width: {}\n", font_face.width().value());
}
indent(builder, indent_levels + 1);
builder.append("sources:\n"sv);
for (auto const& source : font_face.sources()) {