2019-10-12 08:47:49 -03:00
|
|
|
#include <LibHTML/DOM/HTMLBRElement.h>
|
|
|
|
|
#include <LibHTML/Layout/LayoutBreak.h>
|
|
|
|
|
|
|
|
|
|
HTMLBRElement::HTMLBRElement(Document& document, const String& tag_name)
|
|
|
|
|
: HTMLElement(document, tag_name)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
HTMLBRElement::~HTMLBRElement()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-15 10:06:16 -03:00
|
|
|
RefPtr<LayoutNode> HTMLBRElement::create_layout_node(const StyleProperties*) const
|
2019-10-12 08:47:49 -03:00
|
|
|
{
|
|
|
|
|
return adopt(*new LayoutBreak(*this));
|
|
|
|
|
}
|