ladybird/Userland
Sam Atkins fdcece2e88 LibWeb/CSS: Implement legacy name aliases for properties
When a property is a "legacy name alias", any time it is used in CSS or
via the CSSOM its aliased name is used instead.
(See https://drafts.csswg.org/css-cascade-5/#legacy-name-alias)

This means we only care about the alias when parsing a string as a
PropertyID - and we can just return the PropertyID it is an alias for.
No need for a distinct PropertyID for it, and no need for LibWeb to
care about it at all.

Previously, we had a bunch of these properties, which misused our code
for "logical aliases", some of which I've discovered were not even
fully implemented. But with this change, all that code can go away, and
making a legacy alias is just a case of putting it in the JSON. This
also shrinks `StyleProperties` as it doesn't need to contain data for
these aliases, and removes a whole load of `-webkit-*` spam from the
style inspector.
2024-09-27 17:16:23 +01:00
..
Libraries LibWeb/CSS: Implement legacy name aliases for properties 2024-09-27 17:16:23 +01:00
Services LibWeb: Form the correct representation of a WebDriver element reference 2024-09-27 09:46:55 +01:00
Utilities LibWebView+WebContent+UI: Remove cookie related WebView callbacks 2024-09-22 14:11:18 -04:00