1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:37:45 +00:00

LibWeb: Implement CSSNumericType

This represents the type of a calculation, which may involve multiplying
or dividing the various numeric types together (eg, length*length, or
length/time, or whatever).

For now, I've made "Return failure" in each algorithm return an empty
Optional. This may or may not be a good solution but we'll see. :^)
This commit is contained in:
Sam Atkins 2023-07-05 20:07:24 +01:00 committed by Andreas Kling
parent 434bac3c67
commit be7093ab0d
3 changed files with 542 additions and 0 deletions

View file

@ -26,6 +26,7 @@ set(SOURCES
CSS/CSSKeyframesRule.cpp
CSS/CSSFontFaceRule.cpp
CSS/CSSMediaRule.cpp
CSS/CSSNumericType.cpp
CSS/CSSRule.cpp
CSS/CSSRuleList.cpp
CSS/CSSStyleDeclaration.cpp