mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 02:13:56 +09:00
LibWeb: Parse oblique font-style
with an angle value
This commit is contained in:
parent
e537e426c1
commit
c0f9b11070
Notes:
github-actions[bot]
2025-05-03 10:06:24 +00:00
Author: https://github.com/tcl3
Commit: c0f9b11070
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4552
Reviewed-by: https://github.com/konradekk
13 changed files with 172 additions and 31 deletions
|
@ -34,6 +34,7 @@
|
|||
#include <LibWeb/CSS/StyleValues/FitContentStyleValue.h>
|
||||
#include <LibWeb/CSS/StyleValues/FlexStyleValue.h>
|
||||
#include <LibWeb/CSS/StyleValues/FontSourceStyleValue.h>
|
||||
#include <LibWeb/CSS/StyleValues/FontStyleStyleValue.h>
|
||||
#include <LibWeb/CSS/StyleValues/FrequencyStyleValue.h>
|
||||
#include <LibWeb/CSS/StyleValues/GridAutoFlowStyleValue.h>
|
||||
#include <LibWeb/CSS/StyleValues/GridTemplateAreaStyleValue.h>
|
||||
|
@ -203,6 +204,12 @@ FontSourceStyleValue const& CSSStyleValue::as_font_source() const
|
|||
return static_cast<FontSourceStyleValue const&>(*this);
|
||||
}
|
||||
|
||||
FontStyleStyleValue const& CSSStyleValue::as_font_style() const
|
||||
{
|
||||
VERIFY(is_font_style());
|
||||
return static_cast<FontStyleStyleValue const&>(*this);
|
||||
}
|
||||
|
||||
FrequencyStyleValue const& CSSStyleValue::as_frequency() const
|
||||
{
|
||||
VERIFY(is_frequency());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue