From 5a7d3e3cc1e2d798bf2ef11e0958ded9f2385120 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 23 Sep 2021 19:46:20 +0200 Subject: LibWeb: Let
elements have style At the very least, we need to respect `
` --- Userland/Libraries/LibWeb/Layout/BreakNode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Libraries/LibWeb/Layout/BreakNode.h') diff --git a/Userland/Libraries/LibWeb/Layout/BreakNode.h b/Userland/Libraries/LibWeb/Layout/BreakNode.h index 6d0bc97396..80ec3ed773 100644 --- a/Userland/Libraries/LibWeb/Layout/BreakNode.h +++ b/Userland/Libraries/LibWeb/Layout/BreakNode.h @@ -13,7 +13,7 @@ namespace Web::Layout { class BreakNode final : public NodeWithStyleAndBoxModelMetrics { public: - BreakNode(DOM::Document&, HTML::HTMLBRElement&); + BreakNode(DOM::Document&, HTML::HTMLBRElement&, NonnullRefPtr); virtual ~BreakNode() override; const HTML::HTMLBRElement& dom_node() const { return verify_cast(*Node::dom_node()); } -- cgit v1.2.3