mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:57:46 +00:00
LibWeb: Return empty Optional<StyleProperty> for shorthand properties
This is a stopgap until we implement shorthand -> longhand conversion.
This commit is contained in:
parent
377eb09492
commit
5e2b41175c
3 changed files with 13 additions and 1 deletions
|
@ -40,6 +40,7 @@ public:
|
|||
|
||||
void set_property(CSS::PropertyID, NonnullRefPtr<StyleValue> value);
|
||||
NonnullRefPtr<StyleValue> property(CSS::PropertyID) const;
|
||||
RefPtr<StyleValue> maybe_null_property(CSS::PropertyID) const;
|
||||
|
||||
CSS::Size size_value(CSS::PropertyID) const;
|
||||
Length length_or_fallback(CSS::PropertyID, Length const& fallback) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue