1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 17:44:56 +09:00
ladybird/Meta
Sam Atkins 83bb92c4e0 LibWeb/CSS: Merge style declaration subclasses into CSSStyleProperties
We previously had PropertyOwningCSSStyleDeclaration and
ResolvedCSSStyleDeclaration, representing the current style properties
and resolved style respectively. Both of these were the
CSSStyleDeclaration type in the CSSOM. (We also had
ElementInlineCSSStyleDeclaration but I removed that in a previous
commit.)

In the meantime, the spec has changed so that these should now be a new
CSSStyleProperties type in the CSSOM. Also, we need to subclass
CSSStyleDeclaration for things like CSSFontFaceRule's list of
descriptors, which means it wouldn't hold style properties.

So, this commit does the fairly messy work of combining these two types
into a new CSSStyleProperties class. A lot of what previously was done
as separate methods in the two classes, now follows the spec steps of
"if the readonly flag is set, do X" instead, which is hopefully easier
to follow too.

There is still some functionality in CSSStyleDeclaration that belongs in
CSSStyleProperties, but I'll do that next. To avoid a huge diff for
"CSSStyleDeclaration-all-supported-properties-and-default-values.txt"
both here and in the following commit, we don't apply the (currently
empty) CSSStyleProperties prototype yet.
2025-03-19 13:53:00 +00:00
..
CMake LibCore+Meta: Un-break Swift build on Linux 2025-03-18 17:15:08 -06:00
gn LibWeb/CSS: Merge style declaration subclasses into CSSStyleProperties 2025-03-19 13:53:00 +00:00
Lagom LibWeb/CSP: Implement SecurityPolicyViolationEvent 2025-03-19 00:55:14 +01:00
check-debug-flags.sh Meta: Make check-debug-flags.sh runnable in Bash 3.2 2024-07-16 09:13:14 -06:00
check-idl-files.py Meta: Disallow links to single-page HTML spec 2025-02-05 16:04:50 -07:00
check-newlines-at-eof.py Meta: Don't check for newlines at EOF in Tests/LibWeb/Ref/ 2025-01-25 10:16:21 +01:00
check-png-sizes.sh Meta: Make missing optipng fatal in CI 2025-02-12 17:37:42 +00:00
check-style.py LibCore: Implement System::socketpair on Windows 2025-02-14 09:38:59 -07:00
configure-clangd.sh Meta: Script to configure clangd according to build type 2024-08-05 23:44:03 -06:00
debug.plist CMake: Add a command for codesigning with the get-task-allow entitlement 2024-07-02 16:57:51 -06:00
embed_as_string.py Meta: Make embed_as_string_view.py produce Strings instead 2024-09-03 10:12:07 +01:00
find_compiler.sh Meta: Update to clang-19 in CI and build instructions 2024-12-28 05:39:32 -08:00
generate-libwasm-spec-test.py LibWasm: Ignore tests that check that we don't support 2+ memories 2024-07-14 11:26:52 +02:00
generate-libwasm-spec-test.sh Meta: Run the Wasm spec tests in CI 2021-05-27 17:28:41 +04:30
generate_clang_module_map.py Meta+LibGfx: Exclude Metal and Vulkan headers from Clang module map 2024-11-15 10:51:45 -07:00
import-wpt-test.py Meta: Support importing WPT crash tests 2025-01-17 09:08:15 +01:00
ladybird.sh Meta: Move the vcpkg installation/cache directories under Build 2024-11-06 10:38:57 -07:00
lint-ci.sh Meta: Print failed pre-commit steps in bold 2024-12-04 16:45:58 +00:00
lint-clang-format.sh Meta: Switch to clang-format-19 as the standard formatter 2024-12-28 05:39:32 -08:00
lint-commit.sh CI: Add a check to report git merge commit 2022-12-10 12:07:06 +00:00
lint-executable-resources.sh Tests: Prevent executable images or html files during lint 2024-10-25 09:00:52 +02:00
lint-gn.sh Meta: Make gn linter actually fail 2025-03-07 09:44:42 +01:00
lint-prettier.sh Meta+LibJS: Upgrade to prettier version 3.3.3 2024-11-06 15:10:27 -05:00
lint-python.sh Meta: Make all pre-commit CI scripts work with Bash 3.2 2024-07-16 08:56:22 -06:00
lint-shell-scripts.sh Meta: Make all pre-commit CI scripts work with Bash 3.2 2024-07-16 08:56:22 -06:00
lint-swift.sh Meta: Add swift-format linter script 2024-10-01 13:33:05 -06:00
refresh-ladybird-qtcreator.sh Meta+Documentation: Update config for QtCreator 2024-12-02 09:45:32 +00:00
shell_include.sh CMake: Ensure build and test presets for Distribution and Debug 2025-02-21 12:05:18 +01:00
WPT.sh Meta: Strip query string from WPT test variants before importing them 2024-12-29 01:35:13 +00:00