Aliaksandr Kalenik
df2bc8187c
LibWeb: Use actual line height to calculate float y in IFC
...
Before, we were using the line height from NodeWithStyle::line_height()
to calculate the y offset for floats inside the IFC. However, this
value doesn't always correspond to the actual height of a line box. For
instance, adding a fragment for an inline-block might change the height
of the line box. With this change, we recalculate the height of the
line box after adding a new fragment and use this recalculated height
value to determine the y position for floats.
Fixes https://github.com/SerenityOS/serenity/issues/20982
2023-09-09 17:05:22 +02:00
..
2023-06-13 17:47:50 +02:00
2023-06-17 20:35:19 +02:00
2023-05-03 19:49:43 +02:00
2023-05-27 05:47:54 +02:00
2023-05-27 05:47:54 +02:00
2023-07-28 12:44:09 +02:00
2023-07-28 12:44:09 +02:00
2023-05-29 21:29:25 +02:00
2023-05-29 21:29:25 +02:00
2023-06-04 18:14:12 +02:00
2023-05-26 18:11:35 +02:00
2023-08-23 05:24:55 +02:00
2023-08-24 07:08:21 +02:00
2023-08-09 18:34:17 +02:00
2023-09-03 12:33:10 +02:00
2023-08-23 05:24:55 +02:00
2023-08-11 10:02:27 +02:00
2023-08-12 13:36:37 +02:00
2023-08-11 10:02:27 +02:00
2023-08-01 07:38:19 +02:00
2023-05-26 18:11:35 +02:00
2023-07-02 18:43:20 +02:00
2023-08-01 07:38:19 +02:00
2023-05-16 14:35:10 +02:00
2023-05-16 14:35:10 +02:00
2023-08-13 14:43:41 +02:00
2023-08-13 14:43:41 +02:00
2023-09-09 17:05:22 +02:00
2023-05-24 18:58:42 +02:00
2023-08-28 10:09:07 +02:00
2023-08-31 21:43:58 +02:00
2023-08-31 21:43:58 +02:00
2023-07-25 13:42:32 +02:00
2023-07-25 13:42:32 +02:00
2023-08-18 05:08:52 +02:00
2023-07-15 12:30:07 +02:00
2023-07-16 15:00:30 +02:00
2023-04-28 18:12:02 +02:00
2023-05-02 18:50:26 +02:00
2023-08-26 19:07:56 +02:00
2023-04-27 07:52:12 +02:00
2023-05-22 12:51:24 +02:00
2023-05-19 15:09:09 +02:00
2023-06-06 21:02:04 +02:00
2023-06-07 11:20:42 +02:00
2023-08-02 05:27:56 +02:00
2023-07-12 11:44:57 +02:00
2023-05-05 10:01:28 +02:00
2023-05-05 06:20:44 +02:00
2023-08-05 09:25:24 +02:00
2023-05-04 06:14:58 +02:00
2023-06-18 20:29:40 +02:00
2023-06-18 20:29:40 +02:00
2023-07-01 09:06:49 +02:00
2023-07-06 14:25:40 +01:00
2023-07-04 06:43:53 +02:00
2023-07-04 06:43:53 +02:00
2023-08-15 16:37:11 +02:00
2023-08-15 16:37:11 +02:00
2023-08-30 20:09:15 +02:00
2023-05-05 13:26:41 +02:00