mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 18:15:06 +00:00
LibWeb: Support "pseudo" CSS properties
These are properties that may used internally by LibWeb when resolving style values, but may not be set by external stylesheets. For example, 'background-repeat' may be a two-value CSS property that internally translates to 'background-repeat-x' and 'background-repeat-y'.
This commit is contained in:
parent
735829f694
commit
3ba338dec3
3 changed files with 35 additions and 1 deletions
|
@ -91,6 +91,7 @@ enum class PropertyID {
|
|||
|
||||
PropertyID property_id_from_string(const StringView&);
|
||||
const char* string_from_property_id(PropertyID);
|
||||
bool is_pseudo_property(PropertyID);
|
||||
|
||||
} // namespace Web::CSS
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue