1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:28:12 +00:00

LibWeb: Move DOM classes into the Web::DOM namespace

LibWeb keeps growing and the Web namespace is filling up fast.
Let's put DOM stuff into Web::DOM, just like we already started doing
with SVG stuff in Web::SVG.
This commit is contained in:
Andreas Kling 2020-07-26 19:37:56 +02:00
parent 96d13f75cf
commit 11ff9d0f17
178 changed files with 516 additions and 523 deletions

View file

@ -33,12 +33,12 @@ namespace Web::CSS {
class ParsingContext {
public:
ParsingContext();
explicit ParsingContext(const Document&);
explicit ParsingContext(const DOM::Document&);
bool in_quirks_mode() const;
private:
const Document* m_document { nullptr };
const DOM::Document* m_document { nullptr };
};
}
@ -53,6 +53,6 @@ RefPtr<LengthStyleValue> parse_line_width(const CSS::ParsingContext&, const Stri
RefPtr<ColorStyleValue> parse_color(const CSS::ParsingContext&, const StringView&);
RefPtr<StringStyleValue> parse_line_style(const CSS::ParsingContext&, const StringView&);
RefPtr<StyleValue> parse_html_length(const Document&, const StringView&);
RefPtr<StyleValue> parse_html_length(const DOM::Document&, const StringView&);
}