mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 18:27:39 +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:
parent
7162347563
commit
09dccb3224
11 changed files with 96 additions and 2 deletions
|
@ -12,6 +12,7 @@ LIBHTML_OBJS = \
|
|||
DOM/HTMLTitleElement.o \
|
||||
DOM/HTMLBodyElement.o \
|
||||
DOM/HTMLFontElement.o \
|
||||
DOM/HTMLImageElement.o \
|
||||
DOM/Document.o \
|
||||
DOM/Text.o \
|
||||
CSS/Selector.o \
|
||||
|
@ -29,6 +30,8 @@ LIBHTML_OBJS = \
|
|||
Layout/LayoutBlock.o \
|
||||
Layout/LayoutInline.o \
|
||||
Layout/LayoutDocument.o \
|
||||
Layout/LayoutReplaced.o \
|
||||
Layout/LayoutImage.o \
|
||||
Layout/BoxModelMetrics.o \
|
||||
Layout/LineBox.o \
|
||||
Layout/LineBoxFragment.o \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue