diff options
author | Andreas Kling <kling@serenityos.org> | 2020-07-26 20:01:35 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-07-26 20:05:15 +0200 |
commit | 1f008c95b6d80adaaf3cf54cf89019c54b70e17f (patch) | |
tree | bbb1a7dc68d5cd6fa83bf56e98b94607a7fe766f /Libraries/LibWeb/HTML/HTMLImageElement.cpp | |
parent | 3e389f4cdcffbe68aaa0571af532d6668be32a07 (diff) | |
download | serenity-1f008c95b6d80adaaf3cf54cf89019c54b70e17f.zip |
LibWeb: Move CSS classes into the Web::CSS namespace
Diffstat (limited to 'Libraries/LibWeb/HTML/HTMLImageElement.cpp')
-rw-r--r-- | Libraries/LibWeb/HTML/HTMLImageElement.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibWeb/HTML/HTMLImageElement.cpp b/Libraries/LibWeb/HTML/HTMLImageElement.cpp index 45adbd6f3c..79d2bada92 100644 --- a/Libraries/LibWeb/HTML/HTMLImageElement.cpp +++ b/Libraries/LibWeb/HTML/HTMLImageElement.cpp @@ -61,7 +61,7 @@ HTMLImageElement::~HTMLImageElement() { } -void HTMLImageElement::apply_presentational_hints(StyleProperties& style) const +void HTMLImageElement::apply_presentational_hints(CSS::StyleProperties& style) const { for_each_attribute([&](auto& name, auto& value) { if (name == HTML::AttributeNames::width) { @@ -84,7 +84,7 @@ void HTMLImageElement::parse_attribute(const FlyString& name, const String& valu m_image_loader.load(document().complete_url(value)); } -RefPtr<LayoutNode> HTMLImageElement::create_layout_node(const StyleProperties* parent_style) +RefPtr<LayoutNode> HTMLImageElement::create_layout_node(const CSS::StyleProperties* parent_style) { auto style = document().style_resolver().resolve_style(*this, parent_style); if (style->display() == CSS::Display::None) |