From 5d4e9a0673bd3a35495ced6ece8404d55105f101 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 15 May 2023 16:42:28 +0200 Subject: LibWeb: Basic support for CSS `text-indent: ` Note that this simple form of text-indent only affects the first line of formatted content in each block. Percentages are resolved against the width of the block. --- Userland/Libraries/LibWeb/Layout/LineBuilder.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Userland/Libraries/LibWeb/Layout/LineBuilder.h') diff --git a/Userland/Libraries/LibWeb/Layout/LineBuilder.h b/Userland/Libraries/LibWeb/Layout/LineBuilder.h index 5d07a86c3e..35964764d9 100644 --- a/Userland/Libraries/LibWeb/Layout/LineBuilder.h +++ b/Userland/Libraries/LibWeb/Layout/LineBuilder.h @@ -57,6 +57,7 @@ private: CSSPixels m_available_width_for_current_line { 0 }; CSSPixels m_current_y { 0 }; CSSPixels m_max_height_on_current_line { 0 }; + CSSPixels m_text_indent { 0 }; bool m_last_line_needs_update { false }; }; -- cgit v1.2.3