diff options
Diffstat (limited to 'Libraries/LibHTML/Layout/LayoutText.h')
-rw-r--r-- | Libraries/LibHTML/Layout/LayoutText.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibHTML/Layout/LayoutText.h b/Libraries/LibHTML/Layout/LayoutText.h index bae226c11a..312824682e 100644 --- a/Libraries/LibHTML/Layout/LayoutText.h +++ b/Libraries/LibHTML/Layout/LayoutText.h @@ -13,6 +13,7 @@ public: const Text& node() const { return static_cast<const Text&>(*LayoutNode::node()); } const String& text_for_style(const StyleProperties&) const; + const String& text_for_rendering() const { return m_text_for_rendering; } virtual const char* class_name() const override { return "LayoutText"; } virtual bool is_text() const final { return true; } |