mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
LibWeb/CSS: Parse font-width descriptor and its font-stretch alias
This commit is contained in:
parent
4a67b28600
commit
b1870e7029
Notes:
github-actions[bot]
2024-09-28 12:43:32 +00:00
Author: https://github.com/AtkinsSJ
Commit: b1870e7029
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1554
5 changed files with 24 additions and 6 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue