mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
fdcece2e88
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. |
||
---|---|---|
.. | ||
CMake | ||
gn | ||
Lagom | ||
check-debug-flags.sh | ||
check-idl-files.py | ||
check-markdown.sh | ||
check-newlines-at-eof.py | ||
check-png-sizes.sh | ||
check-style.py | ||
configure-clangd.sh | ||
debug.plist | ||
embed_as_string.py | ||
find_compiler.sh | ||
generate-libwasm-spec-test.py | ||
generate-libwasm-spec-test.sh | ||
generate_clang_module_map.py | ||
ladybird.sh | ||
lint-ci.sh | ||
lint-clang-format.sh | ||
lint-commit.sh | ||
lint-executable-resources.sh | ||
lint-gn.sh | ||
lint-prettier.sh | ||
lint-python.sh | ||
lint-shell-scripts.sh | ||
refresh-ladybird-qtcreator.sh | ||
shell_include.sh | ||
WPT.sh |