mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:47:46 +00:00
LibWeb: Expose CSS shorthand -> longhand conversion
This conversion needs to be done by KeyframEffect as well
This commit is contained in:
parent
af1f0c673e
commit
9e0ff9c140
2 changed files with 35 additions and 27 deletions
|
@ -41,6 +41,9 @@ struct FontFaceKey {
|
|||
|
||||
class StyleComputer {
|
||||
public:
|
||||
static void for_each_property_expanding_shorthands(PropertyID, StyleValue const&, Function<void(PropertyID, StyleValue const&)> const& set_longhand_property);
|
||||
static void set_property_expanding_shorthands(StyleProperties&, PropertyID, StyleValue const&, CSS::CSSStyleDeclaration const*, StyleProperties::PropertyValues const& properties_for_revert);
|
||||
|
||||
explicit StyleComputer(DOM::Document&);
|
||||
~StyleComputer();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue