1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 22:35:07 +00:00
serenity/Meta/Lagom/Tools/CodeGenerators
Sam Atkins d6901d2119 Meta: Add range checking to all numeric CSS types
We did already have range checking for the `<integer>` and `<number>`
types, but this patch adds this functionality to all numeric types
(dimensions and percentages).

The syntax in Properties.json is taken from the spec:
https://www.w3.org/TR/css-values-3/#numeric-ranges

eg, `length [0,∞]` defines that a Length is allowed as long as it has a
positive value.

The implementation here allows for any number to be the positive or
negative limit, even though only 0 and positive/negative infinity are
meaningful values without a unit.
2022-03-26 18:15:08 +01:00
..
IPCCompiler IPCCompiler: Don't loop endlessly on nameless parameters 2022-01-29 12:44:15 +01:00
LibEDID Meta+LibEDID: Download and generate the PNP ID database 2022-01-23 22:45:21 +00:00
LibTimeZone Everywhere: Deduplicate day/month name constants 2022-03-18 23:48:50 +00:00
LibUnicode LibUnicode: Use BCP 47 data to filter valid calendar names 2022-02-16 07:23:07 -05:00
LibWeb Meta: Add range checking to all numeric CSS types 2022-03-26 18:15:08 +01:00
StateMachineGenerator AK: Standardize the behaviour of GenericLexer::consume_until overloads 2022-01-25 13:41:09 +03:30
CMakeLists.txt Meta+LibEDID: Download and generate the PNP ID database 2022-01-23 22:45:21 +00:00