ladybird/Meta/CMake
Sam Atkins 82f5be871a LibWeb: Generate the "Numeric Factory" OM methods on the CSS namespace
Generating boilerplate is nice! This also has the bonus that we're more
correct: I included all the units listed in the spec before,
(see https://drafts.css-houdini.org/css-typed-om-1/#numeric-factory )
but we're supposed to exactly include ones for the units we support:

> If an implementation supports additional CSS units that do not have a
  corresponding method in the above list, but that do correspond to one
  of the existing CSSNumericType values, it must additionally support
  such a method, named after the unit in its defined canonical casing,
  using the generic behavior defined above.

> If an implementation does not support a given unit, it must not
  implement its corresponding method from the list above.

Now, our factory functions will exactly match the units we support.

The changed test result is partly the order being different, and partly
that the container-query units are no longer included as we don't
actually support them.
2025-09-11 17:06:44 +01:00
..
flatpak Meta+WebContent+LibWeb: Add, link and initialize SDL3 2025-09-01 21:10:47 +02:00
freedesktop Meta: Add a freedesktop appstream/metainfo manifest 2025-07-28 19:37:48 -06:00
patches CMake: Pull swift-testing from the Swift toolchain 2024-09-23 11:06:26 -06:00
Swift CMake: Ignore invalid offset of when generating Swift interop header 2025-07-26 23:33:58 +02:00
vcpkg Meta: Remove curl overlay port 2025-08-19 22:08:55 +02:00
all_the_debug_macros.cmake LibWeb/IDB: Add some debug output 2025-04-09 11:48:49 -06:00
audio.cmake Meta: Consolidate checking for the system audio backend 2024-12-25 12:00:43 +01:00
check_for_dependencies.cmake Meta: Remove some obsolete cmake version checks 2024-01-29 20:09:12 -05:00
clang_development.cmake CMake: Export targets for Clang Plugins so they can be used by Serenity 2024-05-14 12:46:05 -06:00
code_generators.cmake CMake: Rename all_generated target to better convey intent 2025-07-03 23:19:41 +02:00
collections.cmake CMake: Enable -Wl,--no-undefined on ELF platforms 2025-01-06 12:41:47 -07:00
common_compile_options.cmake Meta: Increase compilation speed with clang-cl 2025-06-16 11:48:41 -06:00
common_options.cmake CMake: Add service, desktop, and icon files for Linux-like systems 2025-07-08 11:45:32 -06:00
ffmpeg.cmake LibMedia+Meta: Enable FFmpeg under Android and remove the stubs 2025-07-10 15:44:53 -06:00
FindBlocksRuntime.cmake CMake: Add find module for BlocksRuntime on non-Apple platforms 2025-03-18 17:15:08 -06:00
Findlibjxl.cmake LibGfx: Use a diffrent way for finding libjxl on Android 2024-09-03 00:17:49 -06:00
Findmman.cmake LibCore/System: Add mmap, munmap for Windows 2024-11-26 10:00:11 +01:00
FindSwiftTesting.cmake CMake: Refactor FindSwiftTesting to find TestingMacros dir on macOS 2025-04-03 16:47:48 -06:00
FindWebP.cmake CMake: Add CMake script for finding libwebp 2025-06-17 16:55:50 -06:00
fontconfig.cmake CMake: Add macro to wrap C++ command line definitions for swiftc 2025-04-04 13:06:53 -06:00
lagom-install-config.cmake Meta: Update jakt build support for fully bootstrapped compiler 2022-09-09 11:23:42 +02:00
lagom_compile_options.cmake LibCore+Meta: Workaround some symbols not being exported on FreeBSD 2025-07-15 13:44:54 -06:00
lagom_install_options.cmake Meta: Use dynamic vcpkg linkage for release builds 2024-11-06 10:38:57 -07:00
lagom_options.cmake CMake: Rename serenity_* helper functions/macros to ladybird_* 2025-07-03 23:19:41 +02:00
libtextcodec_generators.cmake Meta: Rewrite GenerateEncodingIndexes in python 2025-06-25 18:50:14 -06:00
libweb_generators.cmake LibWeb: Generate the "Numeric Factory" OM methods on the CSS namespace 2025-09-11 17:06:44 +01:00
processor-count.cmake Meta: Print error if cmake does not exist 2022-10-16 17:49:18 +02:00
public_suffix.cmake CMake: Rename SERENITY_* helper variables to LADYBIRD_* 2025-07-03 23:19:41 +02:00
sanitizers.cmake CMake: Add support for building with sanitizers on Windows 2025-06-17 15:33:26 -06:00
SDL3.cmake Meta+WebContent+LibWeb: Add, link and initialize SDL3 2025-09-01 21:10:47 +02:00
setup_ccache.cmake Meta: Detect ccache being passed as the compiler 2022-12-12 21:34:09 -07:00
skia.cmake Meta: Add a workaround when compiling for Android 2025-07-10 15:44:53 -06:00
stacktrace.cmake AK: Add stacktrace support using the standard lib 2025-03-05 10:25:12 -07:00
targets.cmake CMake: Add helper to ensure vcpkg DLLs are copied to the output dir 2025-08-23 16:04:36 -06:00
use_linker.cmake Meta: Workaround CMAKE_LINKER_TYPE being broken on FreeBSD 2025-07-15 13:44:54 -06:00
utils.cmake CMake: Rename SERENITY_* helper variables to LADYBIRD_* 2025-07-03 23:19:41 +02:00
vulkan.cmake CMake: Add macro to wrap C++ command line definitions for swiftc 2025-04-04 13:06:53 -06:00
wasm_spec_tests.cmake Meta: Remove SerenityOS-specific WASM test installer 2024-06-24 09:45:41 -06:00