summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Layout/BreakNode.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-09-23 19:46:20 +0200
committerAndreas Kling <kling@serenityos.org>2021-09-24 15:01:49 +0200
commit5a7d3e3cc1e2d798bf2ef11e0958ded9f2385120 (patch)
tree26fc0bd33c928a6155d3d9f57e033f3361da3692 /Userland/Libraries/LibWeb/Layout/BreakNode.h
parentc113c092eeb1235c2099f0186087bd85e3e3f8c6 (diff)
downloadserenity-5a7d3e3cc1e2d798bf2ef11e0958ded9f2385120.zip
LibWeb: Let <br> elements have style
At the very least, we need to respect `<br style="display: none">`
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/BreakNode.h')
-rw-r--r--Userland/Libraries/LibWeb/Layout/BreakNode.h2
1 files changed, 1 insertions, 1 deletions
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<CSS::StyleProperties>);
virtual ~BreakNode() override;
const HTML::HTMLBRElement& dom_node() const { return verify_cast<HTML::HTMLBRElement>(*Node::dom_node()); }