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:
parent
96d13f75cf
commit
11ff9d0f17
178 changed files with 516 additions and 523 deletions
|
@ -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&);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue