mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 19:19:30 +00:00
LibWeb/CSS: Parse font-named-instance descriptor
This commit is contained in:
parent
3eb6d510fd
commit
7c50a31402
Notes:
github-actions[bot]
2024-09-28 12:43:44 +00:00
Author: https://github.com/AtkinsSJ
Commit: 7c50a31402
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1554
5 changed files with 45 additions and 4 deletions
|
@ -9,8 +9,9 @@
|
|||
|
||||
namespace Web::CSS {
|
||||
|
||||
ParsedFontFace::ParsedFontFace(FlyString font_family, Optional<int> weight, Optional<int> slope, Vector<Source> sources, Vector<Gfx::UnicodeRange> unicode_ranges, Optional<Percentage> ascent_override, Optional<Percentage> descent_override, Optional<Percentage> line_gap_override, FontDisplay font_display)
|
||||
ParsedFontFace::ParsedFontFace(FlyString font_family, Optional<int> weight, Optional<int> slope, Vector<Source> sources, Vector<Gfx::UnicodeRange> unicode_ranges, Optional<Percentage> ascent_override, Optional<Percentage> descent_override, Optional<Percentage> line_gap_override, FontDisplay font_display, Optional<FlyString> font_named_instance)
|
||||
: m_font_family(move(font_family))
|
||||
, m_font_named_instance(move(font_named_instance))
|
||||
, m_weight(weight)
|
||||
, m_slope(slope)
|
||||
, m_sources(move(sources))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue