mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 14:45:09 +00:00

This will be responsible for matching selectors and creating LayoutStyle objects for the document and its elements.
23 lines
463 B
C++
23 lines
463 B
C++
#include <LibHTML/CSS/StyleResolver.h>
|
|
#include <LibHTML/CSS/StyleSheet.h>
|
|
|
|
StyleResolver::StyleResolver(Document& document)
|
|
: m_document(document)
|
|
{
|
|
}
|
|
|
|
StyleResolver::~StyleResolver()
|
|
{
|
|
}
|
|
|
|
OwnPtr<LayoutStyle> StyleResolver::resolve_document_style(const Document& document)
|
|
{
|
|
UNUSED_PARAM(document);
|
|
return nullptr;
|
|
}
|
|
|
|
OwnPtr<LayoutStyle> StyleResolver::resolve_element_style(const Element& element)
|
|
{
|
|
UNUSED_PARAM(element);
|
|
return nullptr;
|
|
}
|