mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 17:28:30 +00:00
LibWeb: Move CSS Parser into new Web::CSS::Parser namespace
The goal here is to move the parser-internal classes into this namespace so they can have more convenient names without causing collisions. The Parser itself won't collide, and would be more convenient to just remain `CSS::Parser`, but having a namespace and a class with the same name makes C++ unhappy.
This commit is contained in:
committed by
Andreas Kling
parent
1304bf5a21
commit
c449cabae3
@@ -126,7 +126,7 @@ void HTMLStyleElement::update_a_style_block()
|
||||
|
||||
// FIXME: This is a bit awkward, as the spec doesn't actually tell us when to parse the CSS text,
|
||||
// so we just do it here and pass the parsed sheet to create_a_css_style_sheet().
|
||||
auto sheet = parse_css_stylesheet(CSS::ParsingContext(document()), text_content());
|
||||
auto sheet = parse_css_stylesheet(CSS::Parser::ParsingContext(document()), text_content());
|
||||
if (!sheet)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user