Files
ladybird/Libraries/LibWeb/HTML/HTMLImageElement.cpp
Andreas Kling 30f37d691c LibWeb: Share supported image MIME type list
Extract the file-local is_supported_image_type() helper from
HTMLImageElement into a small standalone translation unit so other
parts of the engine can ask the same question. The next commit reuses
it for the image-set() type() filter.

The list is still hard-coded; deriving it from the registered image
decoders remains a FIXME.
2026-04-25 14:54:10 +02:00

65 KiB