diff options
author | Andreas Kling <kling@serenityos.org> | 2020-06-13 22:22:54 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-06-13 22:22:54 +0200 |
commit | 95d70addd8384197fa9f619b0cc1fdb319280e7f (patch) | |
tree | c9dc5ac7ab2925849857c98c4b993e258a3ba7ad /CODE_OF_CONDUCT.md | |
parent | d6d248c3289be80f318f53648a4c6aa1774d9e91 (diff) | |
download | serenity-95d70addd8384197fa9f619b0cc1fdb319280e7f.zip |
LibWeb: Split out image loading logic from HTMLImageElement
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.
Diffstat (limited to 'CODE_OF_CONDUCT.md')
0 files changed, 0 insertions, 0 deletions