mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-22 17:24:48 -05:00
9164c9784d
If we have a valid PNG header with geometry info etc, we should still display it as *something*, even if the image data itself is missing or corrupted. This matches the behavior of other browsers, and is something that Cloudflare Turnstile checks for. To achieve this, we split the PNG decoder's initialization into two steps: "everything except reading frame data" and "reading frame data". If the latter step fails, we yield a transparent bitmap with the geometry from the PNG's IHDR chunk. |
||
---|---|---|
.. | ||
AK | ||
ClangPlugins | ||
LibCompress | ||
LibCore | ||
LibCrypto | ||
LibDiff | ||
LibGC | ||
LibGfx | ||
LibJS | ||
LibMedia | ||
LibRegex | ||
LibTest | ||
LibTextCodec | ||
LibThreading | ||
LibTLS | ||
LibUnicode | ||
LibURL | ||
LibWasm | ||
LibWeb | ||
LibWebView | ||
LibXML | ||
Resources | ||
CMakeLists.txt |