mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:27:45 +00:00
LibWeb: Basic support for CSS text-indent: <length-percentage>
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.
This commit is contained in:
parent
9c2d496dbe
commit
5d4e9a0673
6 changed files with 55 additions and 0 deletions
|
@ -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 };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue