mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 18:55:08 +00:00
LibHTML: Add an empty CSS parser.
This commit is contained in:
parent
85d71024f7
commit
891e668e35
14 changed files with 67 additions and 11 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
class StyleRule : public RefCounted<StyleRule> {
|
||||
public:
|
||||
NonnullRefPtr<StyleRule> create(Vector<Selector>&& selectors, Vector<NonnullRefPtr<StyleDeclaration>>&& declarations)
|
||||
static NonnullRefPtr<StyleRule> create(Vector<Selector>&& selectors, Vector<NonnullRefPtr<StyleDeclaration>>&& declarations)
|
||||
{
|
||||
return adopt(*new StyleRule(move(selectors), move(declarations)));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue