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

@ -392,7 +392,8 @@ void FontFace::load_font_source()
ParsedFontFace parsed_font_face {
font->m_family,
font->m_weight.to_number<int>(),
0, // FIXME: slope
0, // FIXME: slope
Gfx::FontWidth::Normal, // FIXME: width
font->m_urls,
font->m_unicode_ranges,
{}, // FIXME: ascent_override