mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-05 08:06:09 +00:00
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."
This commit is contained in:
10
Libraries/LibHTML/DOM/HTMLImageElement.cpp
Normal file
10
Libraries/LibHTML/DOM/HTMLImageElement.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
#include <LibHTML/DOM/HTMLImageElement.h>
|
||||
|
||||
HTMLImageElement::HTMLImageElement(Document& document, const String& tag_name)
|
||||
: HTMLElement(document, tag_name)
|
||||
{
|
||||
}
|
||||
|
||||
HTMLImageElement::~HTMLImageElement()
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user