1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 16:34:59 +00:00
serenity/Libraries/LibHTML/DOM/HTMLImageElement.cpp
Andreas Kling 09dccb3224 LibHTML: Flesh out <img> element with LayoutImage and LayoutReplaced
This patch adds parsing of <img> into HTMLImageElement objects.
It also adds LayoutImage and its parent class LayoutReplaced, which is
going to represent CSS "replaced elements."
2019-10-05 23:29:01 +02:00

10 lines
207 B
C++

#include <LibHTML/DOM/HTMLImageElement.h>
HTMLImageElement::HTMLImageElement(Document& document, const String& tag_name)
: HTMLElement(document, tag_name)
{
}
HTMLImageElement::~HTMLImageElement()
{
}