Sam Atkins
6038e36250
LibWeb: Add and use the "snap a length as a border width" algorithm
...
Previously, we always rounded border-widths up when converting them to
device pixels. However, the spec asks us to follow a specific algorithm
to "snap" these values, so that the computed value is snapped.
The difference from before, is that widths of between 0 and 1 device
pixels are rounded up to 1, and and values larger than 1 are rounded
down.
2023-07-30 22:18:26 +01:00
..
2023-07-28 12:44:09 +02:00
2023-07-28 17:02:33 +02:00
2023-07-27 19:54:17 +02:00
2023-06-18 13:41:15 +02:00
2023-07-28 17:02:33 +02:00
2023-07-28 17:02:33 +02:00
2023-07-25 11:52:02 +02:00
2023-06-20 13:42:31 +02:00
2023-07-08 06:13:56 +02:00
2023-07-08 10:51:12 +02:00
2023-07-25 11:52:02 +02:00
2023-07-25 11:52:02 +02:00
2023-06-09 20:37:51 +02:00
2023-06-09 20:37:51 +02:00
2023-06-09 20:37:51 +02:00
2023-06-16 13:57:31 +02:00
2023-07-25 11:52:02 +02:00
2023-07-29 19:16:08 +02:00
2023-07-30 14:18:13 +02:00
2023-07-25 11:52:02 +02:00
2023-07-25 11:52:02 +02:00
2023-07-25 11:52:02 +02:00
2023-07-25 11:52:02 +02:00
2023-07-25 11:52:02 +02:00
2023-07-14 05:55:32 +02:00
2023-07-30 20:27:19 +01:00
2023-07-30 20:27:19 +01:00
2023-07-25 11:52:02 +02:00
2023-07-25 11:52:02 +02:00
2023-07-29 19:16:08 +02:00
2023-07-30 22:18:26 +01:00
2023-06-19 17:54:07 +02:00
2023-05-29 21:36:17 +02:00
2023-07-25 11:52:02 +02:00
2023-07-25 11:52:02 +02:00
2023-07-08 06:13:56 +02:00
2023-07-25 11:52:02 +02:00
2023-06-01 13:33:35 +02:00
2023-07-25 11:52:02 +02:00
2023-07-25 11:52:02 +02:00
2023-07-25 11:52:02 +02:00
2023-06-01 13:33:35 +02:00
2023-07-25 11:52:02 +02:00
2023-07-25 11:52:02 +02:00
2023-07-25 11:52:02 +02:00
2023-07-25 11:52:02 +02:00
2023-06-01 13:33:35 +02:00
2023-07-25 11:52:02 +02:00
2023-06-01 13:33:35 +02:00
2023-07-25 11:52:02 +02:00
2023-07-25 11:52:02 +02:00
2023-06-01 13:33:35 +02:00
2023-06-01 13:33:35 +02:00
2023-06-01 13:33:35 +02:00
2023-07-25 11:52:02 +02:00
2023-07-25 11:52:02 +02:00
2023-06-01 13:33:35 +02:00
2023-06-21 06:13:05 +02:00
2023-06-21 06:13:05 +02:00
2023-07-25 11:52:02 +02:00
2023-07-25 11:52:02 +02:00
2023-07-25 11:52:02 +02:00
2023-07-25 11:52:02 +02:00
2023-06-05 09:00:00 +02:00
2023-06-16 14:39:03 +02:00
2023-07-25 11:52:02 +02:00
2023-07-25 11:52:02 +02:00
2023-07-28 17:02:33 +02:00
2023-05-30 21:28:18 +02:00
2023-06-01 09:20:05 +02:00
2023-06-02 17:46:35 +02:00
2023-06-21 06:13:05 +02:00
2023-06-25 08:13:04 +02:00
2023-05-28 12:11:10 +02:00
2023-07-25 11:52:02 +02:00
2023-07-08 06:13:56 +02:00
2023-07-17 21:47:34 +02:00
2023-07-25 11:52:02 +02:00
2023-07-25 11:52:02 +02:00
2023-07-25 11:52:02 +02:00
2023-07-25 11:52:02 +02:00
2023-05-26 21:20:56 +02:00
2023-05-30 10:09:47 +02:00
2023-07-25 11:52:02 +02:00
2023-07-25 11:52:02 +02:00
2023-07-25 11:52:02 +02:00
2023-06-02 05:21:22 +02:00
2023-07-25 11:52:02 +02:00
2023-07-25 11:52:02 +02:00
2023-07-15 11:35:16 +02:00
2023-05-31 10:56:32 +02:00