mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 18:55:07 +00:00
LibWeb: Move everything into the Web namespace
This commit is contained in:
parent
6a3b12664a
commit
7a6c4a72d5
143 changed files with 593 additions and 45 deletions
|
@ -39,6 +39,8 @@
|
|||
ASSERT_NOT_REACHED(); \
|
||||
}
|
||||
|
||||
namespace Web {
|
||||
|
||||
static Optional<Color> parse_css_color(const StringView& view)
|
||||
{
|
||||
auto color = Color::from_string(view);
|
||||
|
@ -631,3 +633,5 @@ RefPtr<StyleDeclaration> parse_css_declaration(const StringView& css)
|
|||
CSSParser parser(css);
|
||||
return parser.parse_standalone_declaration();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue