Andreas Kling
d59ec3ab85
LibWeb: Create "empty" line box fragments for inline elements
...
In order for inline elements (e.g <span>) to contribute padding etc.
to line boxes, we now create special "leading" and "trailing" fragments
for Layout::InlineNode and size them according to the horizontal
padding values.
The height of these fragments is taken from the tallest fragment on the
line. (Perhaps we should stop having per-fragment heights and just keep
a single height per line box, but that's a separate issue.)
In order to make things look nice, we now also adjust the height of all
fragments on a line so that nobody is shorter than the CSS line-height.
2020-12-03 21:45:51 +01:00
..
2020-12-03 21:45:46 +01:00
2020-11-26 21:22:42 +01:00
2020-11-25 21:26:58 +01:00
2020-11-25 21:26:58 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-11-25 21:26:58 +01:00
2020-11-25 21:26:58 +01:00
2020-11-22 16:07:53 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-12-03 21:45:51 +01:00
2020-11-25 21:26:58 +01:00
2020-12-03 21:45:51 +01:00
2020-12-03 21:45:51 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-07-26 20:05:15 +02:00
2020-12-03 21:45:51 +01:00
2020-12-03 21:45:51 +01:00
2020-12-03 21:45:51 +01:00
2020-12-03 21:45:51 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-11-26 21:22:42 +01:00
2020-12-03 21:45:41 +01:00
2020-11-22 15:56:27 +01:00
2020-11-29 16:23:12 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-11-29 16:23:12 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-11-29 22:39:01 +01:00
2020-11-25 21:26:58 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-12-03 21:45:46 +01:00
2020-12-03 21:45:46 +01:00
2020-11-29 22:26:54 +01:00
2020-11-26 21:22:42 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00