HTMLBRElement.cpp 363 B

12345678910111213141516
  1. #include <LibHTML/DOM/HTMLBRElement.h>
  2. #include <LibHTML/Layout/LayoutBreak.h>
  3. HTMLBRElement::HTMLBRElement(Document& document, const String& tag_name)
  4. : HTMLElement(document, tag_name)
  5. {
  6. }
  7. HTMLBRElement::~HTMLBRElement()
  8. {
  9. }
  10. RefPtr<LayoutNode> HTMLBRElement::create_layout_node(const StyleProperties*) const
  11. {
  12. return adopt(*new LayoutBreak(*this));
  13. }