1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:48:11 +00:00
serenity/Libraries/LibHTML/Layout
Andreas Kling 92b6a7a18f LibHTML: Add StyleProperties::line_height()
We currently hard-code the line height to 140% of the font glyph height
and this patch doesn't fix the hard-coding, but at least moves it out
of LayoutText and into StyleProperties where it can be re-used until
the day we go and do a proper implementation of CSS line-height. :^)
2019-10-12 13:42:58 +02:00
..
BoxModelMetrics.cpp LibHTML: Rename ComputedStyle to BoxModelMetrics 2019-10-04 15:50:50 +02:00
BoxModelMetrics.h LibHTML: Rename ComputedStyle to BoxModelMetrics 2019-10-04 15:50:50 +02:00
LayoutBlock.cpp LibHTML: LayoutBlock::children_are_inline() should check is_inline() 2019-10-11 23:23:48 +02:00
LayoutBlock.h LibHTML: Implement the <blink> element 2019-10-09 21:25:29 +02:00
LayoutDocument.cpp LibHTML: Rename "style_properties" to "style" everywhere 2019-10-07 10:56:44 +02:00
LayoutDocument.h LibHTML: LayoutText should always use parent's style properties 2019-10-04 12:12:39 +02:00
LayoutImage.cpp LibHTML: Implement the <blink> element 2019-10-09 21:25:29 +02:00
LayoutImage.h LibHTML: Implement basic layout for inline <img alt> 2019-10-05 23:29:01 +02:00
LayoutInline.cpp LibHTML: Add LayoutNodeWithStyle class, make LayoutText style-less 2019-10-07 10:56:44 +02:00
LayoutInline.h LibHTML: Add LayoutNodeWithStyle class, make LayoutText style-less 2019-10-07 10:56:44 +02:00
LayoutListItem.cpp LibHTML: Make sure the marker has the same inline state as siblings 2019-10-11 23:26:25 +02:00
LayoutListItem.h LibHTML: Add LayoutNode classes for "display: list-item" and its marker 2019-10-11 23:16:53 +02:00
LayoutListItemMarker.cpp LibHTML: Add LayoutNode classes for "display: list-item" and its marker 2019-10-11 23:16:53 +02:00
LayoutListItemMarker.h LibHTML: Add LayoutNode classes for "display: list-item" and its marker 2019-10-11 23:16:53 +02:00
LayoutNode.cpp LibHTML: Implement the <blink> element 2019-10-09 21:25:29 +02:00
LayoutNode.h LibHTML: Move is_ancestor_of() from LayoutNode to TreeNode 2019-10-09 21:33:34 +02:00
LayoutReplaced.cpp LibHTML: Add LayoutNodeWithStyle class, make LayoutText style-less 2019-10-07 10:56:44 +02:00
LayoutReplaced.h LibHTML: Add LayoutNodeWithStyle class, make LayoutText style-less 2019-10-07 10:56:44 +02:00
LayoutText.cpp LibHTML: Add StyleProperties::line_height() 2019-10-12 13:42:58 +02:00
LayoutText.h LibHTML: Collapse whitespace in LayoutText unless white-space: pre; 2019-10-09 16:29:35 +02:00
LineBox.cpp LibHTML: Rewrite inline and text layout 2019-10-03 15:20:13 +02:00
LineBox.h LibHTML: Rewrite inline and text layout 2019-10-03 15:20:13 +02:00
LineBoxFragment.cpp LibHTML: Implement the <blink> element 2019-10-09 21:25:29 +02:00
LineBoxFragment.h LibHTML: Rewrite inline and text layout 2019-10-03 15:20:13 +02:00