mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-22 00:53:20 +00:00
12 lines
261 B
C++
12 lines
261 B
C++
![]() |
#include <LibHTML/CSS/StyleSheet.h>
|
||
|
#include <LibHTML/Parser/CSSParser.h>
|
||
|
#include <ctype.h>
|
||
|
#include <stdio.h>
|
||
|
|
||
|
NonnullRefPtr<StyleSheet> parse_css(const String& css)
|
||
|
{
|
||
|
Vector<NonnullRefPtr<StyleRule>> rules;
|
||
|
|
||
|
return StyleSheet::create(move(rules));
|
||
|
}
|