Sam Atkins
b927972da7
LibWeb: Add range-checking to property_accepts_value()
...
For `number` and `integer` types, you can add a range afterwards to add
a range check, using similar syntax to that used in the CSS specs. For
example:
```json
"font-weight": {
...
"valid-types": [
"number [1,1000]"
],
...
}
```
This limits any numbers to the range `1 <= n <= 1000`.
2021-09-23 17:47:40 +02:00
..
2021-09-21 15:39:17 +03:00
2021-09-16 15:47:13 +00:00
2021-09-23 17:47:40 +02:00
2021-04-22 09:55:48 +02:00
2021-06-14 22:41:37 +01:00
2021-06-25 15:19:09 +02:00
2021-07-20 15:12:19 +02:00
2021-05-16 22:50:46 +01:00
2021-08-18 10:59:50 +02:00
2021-09-15 19:04:52 +04:30
2021-09-14 21:33:15 +04:30
2021-04-19 09:19:31 +02:00
2021-08-14 12:40:55 +02:00
2021-08-14 12:40:55 +02:00
2021-03-19 22:55:53 +01:00
2021-01-23 16:47:09 +01:00
2021-09-17 09:16:40 +00:00
2021-07-20 15:12:19 +02:00
2021-01-22 17:44:05 +01:00
2021-08-30 22:47:02 +02:00
2021-05-27 17:28:41 +04:30
2021-07-18 22:08:03 +02:00
2021-07-18 22:08:03 +02:00
2021-07-18 22:08:03 +02:00
2021-04-20 15:27:52 +02:00
2021-04-30 21:24:22 +02:00
2021-08-14 12:40:55 +02:00
2021-09-07 20:46:34 +01:00
2021-01-22 17:44:05 +01:00
2021-01-22 17:44:05 +01:00
2021-04-29 22:16:18 +02:00
2021-01-22 17:44:05 +01:00
2021-08-30 20:49:37 +02:00
2021-01-22 17:44:05 +01:00
2021-01-22 17:44:05 +01:00
2021-05-05 21:26:37 +02:00
2021-08-13 21:12:17 +04:30
2021-09-15 20:21:19 +00:00
2021-09-19 22:34:43 +02:00
2021-04-04 09:57:36 +02:00
2021-08-18 14:27:37 +02:00
2021-06-16 10:40:01 +02:00
2021-09-16 15:47:13 +00:00
2021-01-22 18:41:08 +01:00
2021-06-18 13:34:17 +01:00