mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:17:46 +00:00
LibWeb: Generate PseudoClass metadata
The usual to/from-string functions, and metadata about whether the pseudo-class is a a function or not, and what type of parameter it takes.
This commit is contained in:
parent
e25b1f76e1
commit
f76c614a84
6 changed files with 350 additions and 0 deletions
|
@ -45,6 +45,15 @@ function (generate_css_implementation)
|
|||
arguments -j "${LIBWEB_INPUT_FOLDER}/CSS/Properties.json"
|
||||
)
|
||||
|
||||
invoke_generator(
|
||||
"PseudoClass.cpp"
|
||||
Lagom::GenerateCSSPseudoClass
|
||||
"${LIBWEB_INPUT_FOLDER}/CSS/PseudoClasses.json"
|
||||
"CSS/PseudoClass.h"
|
||||
"CSS/PseudoClass.cpp"
|
||||
arguments -j "${LIBWEB_INPUT_FOLDER}/CSS/PseudoClasses.json"
|
||||
)
|
||||
|
||||
invoke_generator(
|
||||
"TransformFunctions.cpp"
|
||||
Lagom::GenerateCSSTransformFunctions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue