mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 17:12:55 +02:00
Since more DOM nodes are going to want to load images (<object>, ...) this patch splits out the image loading logic into an ImageLoader class and then HTMLImageElement simply has an ImageLoader. LayoutImage is then given a const ImageLoader& at construction and can then provide layout and rendering for many kinds of DOM nodes.
4.7 KiB
4.7 KiB