ladybird/Tests/LibGfx
Jelle Raaijmakers 49cdf582ff LibGfx: Implement WCAG's contrast ratio in Color
We're going to implement the `contrast-color()` CSS function in the next
commit, and the spec advises to use the contrast ratio definition as
described in WCAG 2. So let's replace our `Color::contrast_ratio()`
implementation by that.

Co-authored-by: InvalidUsernameException
 <InvalidUsernameException@users.noreply.github.com>
2026-06-09 17:23:26 +02:00
..
test-inputs LibGfx: Fix misaligned u32 store in BMP RLE24 decompression 2026-06-08 13:43:21 +02:00
BenchmarkJPEGLoader.cpp Everywhere: Remove Serenity specific code from tests 2024-07-05 07:29:51 +02:00
CMakeLists.txt Tests/LibGfx: Remove stale Skia include from CMakeLists 2026-05-05 23:49:11 +02:00
TestBitmapExport.cpp LibGfx: Move bitmap export out of ImmutableBitmap 2026-05-05 14:39:17 -05:00
TestColor.cpp LibGfx: Implement WCAG's contrast ratio in Color 2026-06-09 17:23:26 +02:00
TestImageDecoder.cpp LibGfx: Fix misaligned u32 store in BMP RLE24 decompression 2026-06-08 13:43:21 +02:00
TestImageWriter.cpp LibGfx: Remove WebP animation writer and utility 2025-08-05 11:30:20 +02:00
TestQuad.cpp LibGfx: Verify Rect and Quad are consistent in boundary point inclusions 2024-12-15 23:27:42 +01:00
TestRect.cpp LibGfx+LibWeb: Delete unused Line class and Rect methods 2025-11-04 23:16:02 +01:00
TestWOFF.cpp LibGfx: Rename WOFF[2]::try_load_from_externally_owned_memory() 2025-05-03 12:01:43 +01:00
TestWOFF2.cpp Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
TestYUVData.cpp LibGfx: Preserve native YUV samples for CPU conversion 2026-05-05 14:39:17 -05:00