mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Simplify parsing of font-variant-east-asian
This commit is contained in:
Notes:
github-actions[bot]
2026-02-20 22:04:02 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/d6b94951cfa Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8034 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -27,6 +27,14 @@ public:
|
||||
|
||||
bool properties_equal(TupleStyleValue const& other) const { return m_tuple == other.m_tuple; }
|
||||
|
||||
struct Indices {
|
||||
struct FontVariantEastAsian {
|
||||
static constexpr size_t Variant = 0;
|
||||
static constexpr size_t Width = 1;
|
||||
static constexpr size_t Ruby = 2;
|
||||
};
|
||||
};
|
||||
|
||||
private:
|
||||
explicit TupleStyleValue(StyleValueTuple values)
|
||||
: StyleValueWithDefaultOperators(Type::Tuple)
|
||||
|
||||
Reference in New Issue
Block a user