Callum Law
614a5cf33e
LibWeb: Set context for parsing against <foo-percentage> syntax
...
This means that we correctly parse dimension percentage mixes (i.e.
`calc(10px + 10%)` is a valid `<length-percentage>`)
2026-03-26 01:11:39 +00:00
Callum Law
ed2909674f
LibWeb: Add computationally independent check for custom properties
...
Registered custom properties only accept "computationally independent"
values for their initial value
2026-03-26 01:11:39 +00:00
Sam Atkins
39e0d06987
LibWeb/CSS: Discard whitespace at the start of simple parsing functions
2025-11-03 11:23:21 +00:00
Sam Atkins
821bf4a289
LibWeb/CSS: Discard whitespace when parsing comma-separated lists
2025-11-03 11:23:21 +00:00
Sam Atkins
7ba496b798
LibWeb/CSS: Add ValueTypes for <foo-percentage>
2025-10-20 13:55:23 +01:00
Sam Atkins
35fd3bda79
LibWeb/CSS: Promote <transform-list/function> to parsable types
...
The `transform` property is now parsed based on its JSON data, and
shouldn't behave any differently than before.
This makes `<transform-list>` and `<transform-function>` work in the
`syntax` descriptor for `@property`, and also means we know that
`transform` can accept the `none` keyword. We get a few WPT passes out
of that.
2025-10-14 13:41:47 +01:00
Sam Atkins
65ba5acf9d
Tests: Import @property { syntax } parsing test
...
This gets some extra passes with the next commit.
2025-10-14 13:41:47 +01:00