mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 15:10:19 +00:00
aacf9b08ed
The CSSOM spec tells us to potentially add up to three different IDL attributes to CSSStyleDeclaration for every CSS property we support: - A camelCased attribute, where a dash indicates the next character should be uppercase - A camelCased attribute for every -webkit- prefixed property, with the first letter always being lowercase - A dashed-attribute for every property with a dash in it. Additionally, every attribute must have the CEReactions and LegacyNullToEmptyString extended attributes specified on it. Since we specify every property we support with Properties.json, we can use that file to generate the IDL file and it's implementation. We import it from the Build directory with the help of multiple import base paths. Then, we add it to CSSStyleDeclaration via the mixin functionality and inheriting the generated class in CSSStyleDeclaration. |
||
---|---|---|
.. | ||
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 | ||
import-wpt-test.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 | ||
lint-swift.sh | ||
refresh-ladybird-qtcreator.sh | ||
shell_include.sh | ||
WPT.sh |