mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:48:14 +00:00
LibWeb: Move CSS classes into the Web::CSS namespace
This commit is contained in:
parent
3e389f4cdc
commit
1f008c95b6
100 changed files with 358 additions and 366 deletions
|
@ -43,7 +43,7 @@ SVGSVGElement::SVGSVGElement(DOM::Document& document, const FlyString& tag_name)
|
|||
{
|
||||
}
|
||||
|
||||
RefPtr<LayoutNode> SVGSVGElement::create_layout_node(const StyleProperties* parent_style)
|
||||
RefPtr<LayoutNode> SVGSVGElement::create_layout_node(const CSS::StyleProperties* parent_style)
|
||||
{
|
||||
auto style = document().style_resolver().resolve_style(*this, parent_style);
|
||||
if (style->display() == CSS::Display::None)
|
||||
|
|
|
@ -35,7 +35,7 @@ class SVGSVGElement final : public SVGGraphicsElement {
|
|||
public:
|
||||
SVGSVGElement(DOM::Document&, const FlyString& tag_name);
|
||||
|
||||
virtual RefPtr<LayoutNode> create_layout_node(const StyleProperties* parent_style) override;
|
||||
virtual RefPtr<LayoutNode> create_layout_node(const CSS::StyleProperties* parent_style) override;
|
||||
|
||||
const RefPtr<Gfx::Bitmap> bitmap() const { return m_bitmap; }
|
||||
bool create_bitmap_as_top_level_svg_element();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue