mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
04b9dc2d30
Things were getting a little crowded in the project root, so this patch moves the Lib*/ directories into Libraries/.
21 lines
422 B
C++
21 lines
422 B
C++
#include <LibHTML/CSS/StyleResolver.h>
|
|
#include <LibHTML/DOM/Document.h>
|
|
#include <LibHTML/DOM/Element.h>
|
|
#include <LibHTML/Layout/LayoutDocument.h>
|
|
#include <stdio.h>
|
|
|
|
Document::Document()
|
|
: ParentNode(NodeType::DOCUMENT_NODE)
|
|
{
|
|
}
|
|
|
|
Document::~Document()
|
|
{
|
|
}
|
|
|
|
StyleResolver& Document::style_resolver()
|
|
{
|
|
if (!m_style_resolver)
|
|
m_style_resolver = make<StyleResolver>(*this);
|
|
return *m_style_resolver;
|
|
}
|