mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 02:13:56 +09:00
LibHTML: Implement enough of the CSS parser to parse the default stylesheet.
This commit is contained in:
parent
7e1cb86da7
commit
4573eb226e
Notes:
sideshowbarker
2024-07-19 13:30:50 +09:00
Author: https://github.com/awesomekling
Commit: 4573eb226e
3 changed files with 71 additions and 5 deletions
|
@ -0,0 +1,15 @@
|
|||
#include "StyleValue.h"
|
||||
|
||||
StyleValue::StyleValue(Type type)
|
||||
: m_type(type)
|
||||
{
|
||||
}
|
||||
|
||||
StyleValue::~StyleValue()
|
||||
{
|
||||
}
|
||||
|
||||
NonnullRefPtr<StyleValue> StyleValue::parse(const StringView& str)
|
||||
{
|
||||
return adopt(*new PrimitiveStyleValue(str));
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue