Commit Graph
6 Commits
Author SHA1 Message Date
ldm0 ce6f8320f4 feat(canvas): preserve native HDR pixel storage
Retain float16/unorm8, sRGB/Display-P3 and alpha representation through
Canvas, OffscreenCanvas, ImageData and ImageBitmap operations. Composite
in premultiplied coordinates, convert at native format boundaries and
preserve untouched pixel bytes across partial writes and bitmap copies.

Keep parsed drawing colors independent from CSS serialization and use
the shared native receiver bindings for color attributes. Correct the
old trailing-zero serialization expectation against Chromium output.

Validation: fmt, full workspace clippy and nextest (22234 passed,
16 skipped; 32 jobs/threads, zero retries). Original WPT: 914/1116 (+12), all 902 prior passes retained. Sources,
harnesses and assertions are unchanged; browser evidence is retained.
2026-11-22 02:02:01 +08:00
ldm0 d52ad84972 fix(canvas): honor ImageData color spaces and pixel formats 2026-11-22 02:02:01 +08:00
ldm0 190f563889 fix(canvas): preserve native ImageData construction and clone graphs 2026-11-22 02:02:01 +08:00
ldm0 88d6d203c1 fix(canvas): preserve pixel rectangles and native receivers 2026-11-22 02:02:01 +08:00
ldm0 6b8baf41e0 refactor(webapi): check declared interface receivers by default 2026-11-18 20:40:51 +08:00
ldm0 e1eaa7006a refactor(webapi): extract geometry and standalone value bindings 2026-11-16 17:42:05 +08:00