ladybird/Userland/Libraries
Sam Atkins 3af6a69f1e LibWeb: Introduce color-function-specific style values
Instead of CSSColorValue holding a Gfx::Color, make it an abstract class
with subclasses for each different color function, to match the Typed-OM
spec. This means moving the color calculations from the parsing code to
the `to_color()` method on the style value.

This lets us have calc() inside a color function, instead of having to
fully resolve the color at parse time. The canvas fillStyle tests have
been updated to reflect this.

The other test change is Screenshot/css-color-functions.html: previously
we produced slightly different colors for an alpha of 0.5 and one of
50%, and this incorrect behavior was baked into the test. So now it's
more correct. :^)
2024-08-21 10:51:48 +01:00
..
LibArchive
LibAudio Everywhere: Remove AK_DONT_REPLACE_STD macro 2024-07-30 18:38:02 -06:00
LibCompress
LibCore LibCore: Don't wrap <mach/mach.h> in extern "C" on Darwin 2024-08-19 12:56:55 +02:00
LibCrypto CMake: Ensure C/C++ compile options only applied when compiling C/C++ 2024-07-21 15:55:47 -06:00
LibDiff
LibFileSystem Userland: Remove some SerenityOS checks 2024-06-10 13:53:01 +02:00
LibGfx LibGfx: Implement Gfx::AlphaType for SkiaPainter 2024-08-20 20:39:09 +02:00
LibHTTP LibHTTP: Don't double percent encode path in HTTPRequst::to_raw_request 2024-08-06 08:18:20 +01:00
LibIDL LibIDL: Depend on LibCoreMinimal instead of LibCore 2024-06-23 19:52:45 +02:00
LibImageDecoderClient ImageDecoder: Pass decoded images as Gfx::Bitmap over IPC 2024-07-18 09:05:10 +02:00
LibIPC LibIPC: Prefix AK::Duration with AK Namespace 2024-07-18 09:43:38 +01:00
LibJS LibJS: Update spec link to the hashbang comment syntax 2024-08-20 12:24:49 -04:00
LibLine Utilities/js: Make it possible to exit via two consecutive ^C's 2024-07-27 11:49:45 +01:00
LibMain Userland: Remove some SerenityOS checks 2024-06-10 13:53:01 +02:00
LibMedia LibMedia: Prefix AK::Duration with AK Namespace 2024-07-18 09:43:38 +01:00
LibRegex LibUnicode: Replace code point scripts and script extensions with ICU 2024-06-22 14:56:39 +02:00
LibRequests Libraries+Ladybird: Rename LibProtocol -> LibRequests 2024-08-19 12:56:55 +02:00
LibRIFF
LibSyntax Everywhere: Remove LibSQL, SQLServer, and the sql REPL :^) 2024-06-06 11:27:03 -04:00
LibTest LibTest: Define test expectation macros without copying the input values 2024-08-13 14:11:05 +02:00
LibTextCodec LibTextCodec: Implement UTF8Decoder::to_utf8 using AK::String 2024-08-12 06:38:58 -04:00
LibThreading LibThreading: Adjust ThreadPoolLooper m_busy_count sections 2024-08-19 03:08:04 +02:00
LibTLS CMake: Ensure C/C++ compile options only applied when compiling C/C++ 2024-07-21 15:55:47 -06:00
LibUnicode LibJS+LibUnicode: Update the Intl.DateTimeFormat constructor spec steps 2024-08-15 17:21:00 -04:00
LibURL LibURL+LibWeb: Pass a mutable reference URL to URL parser 2024-08-13 14:14:34 +02:00
LibWasm LibWasm: Make BytecodeInterpreter overrides final 2024-08-20 12:01:43 +02:00
LibWeb LibWeb: Introduce color-function-specific style values 2024-08-21 10:51:48 +01:00
LibWebSocket LibURL+Everywhere: Only percent decode URL paths when actually needed 2024-08-05 09:58:13 +02:00
LibWebView Ladybird+LibWeb+LibGfx: Add option to force use of fontconfig 2024-08-20 09:30:05 +02:00
LibXML LibXML: Include line and column numbers in parse error messages 2024-08-03 18:23:36 +02:00