Aliaksandr Kalenik
147c3b3d97
LibWeb+WebContent: Forbid access to underlying type of CSSPixels
...
Although DistinctNumeric, which is supposed to abstract the underlying
type, was used to represent CSSPixels, we have a whole bunch of places
in the layout code that assume CSSPixels::value() returns a
floating-point type. This assumption makes it difficult to replace the
underlying type in CSSPixels with a non-floating type.
To make it easier to transition CSSPixels to fixed-point math, one step
we can take is to prevent access to the underlying type using value()
and instead use explicit conversions with the to_float(), to_double(),
and to_int() methods.
2023-06-13 06:08:27 +02:00
..
2023-06-07 11:20:42 +02:00
2023-06-08 13:54:11 +02:00
2023-06-13 06:08:27 +02:00
2023-05-21 12:40:27 +02:00
2023-06-01 13:33:35 +02:00
2023-06-12 17:51:00 +02:00
2023-05-07 06:28:47 +02:00
2023-06-13 06:08:27 +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-05-03 13:14:36 +02:00
2023-05-03 13:14:36 +02:00
2023-05-03 13:14:36 +02:00
2023-05-29 21:36:17 +02:00
2023-05-03 13:14:36 +02:00
2023-05-17 07:40:17 +02:00
2023-06-10 21:46:33 +02:00
2023-06-02 20:03:28 +02:00
2023-05-03 20:44:30 +02:00
2023-05-03 20:44:30 +02:00
2023-05-03 13:14:36 +02:00
2023-05-03 20:44:30 +02:00
2023-05-03 13:14:36 +02:00
2023-05-29 21:36:17 +02:00
2023-05-29 21:36:17 +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-06-01 13:33:35 +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-05-03 13:14:36 +02:00
2023-05-03 13:14:36 +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-06-01 13:33:35 +02:00
2023-05-03 13:14:36 +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-06-01 13:33:35 +02:00
2023-05-03 13:14:36 +02:00
2023-06-01 13:33:35 +02:00
2023-05-03 13:14:36 +02:00
2023-05-03 13:14:36 +02:00
2023-05-03 20:44:30 +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-06-01 13:33:35 +02:00
2023-05-10 17:27:07 +02:00
2023-05-24 14:40:35 +02:00
2023-05-03 13:14:36 +02:00
2023-05-09 12:11:28 +02:00
2023-06-05 09:00:00 +02:00
2023-05-27 16:02:33 +02:00
2023-05-25 14:42:24 +02:00
2023-05-30 21:28:18 +02:00
2023-05-03 13:14:36 +02:00
2023-05-03 13:14:36 +02:00
2023-06-01 09:20:05 +02:00
2023-05-03 13:14:36 +02:00
2023-06-02 17:46:35 +02:00
2023-05-03 20:44:30 +02:00
2023-05-28 12:11:10 +02:00
2023-06-01 09:06:13 +02:00
2023-05-03 20:44:30 +02:00
2023-05-03 13:14:36 +02:00
2023-05-03 13:14:36 +02:00
2023-05-17 20:37:29 +02:00
2023-05-17 20:37:29 +02:00
2023-05-03 20:44:30 +02:00
2023-06-08 13:54:11 +02:00
2023-05-26 21:20:56 +02:00
2023-05-30 10:09:47 +02:00
2023-05-24 14:40:35 +02:00
2023-06-01 13:33:35 +02:00
2023-06-10 21:46:33 +02:00
2023-06-02 05:21:22 +02:00
2023-05-15 19:31:09 +02:00
2023-06-01 18:13:42 +02:00
2023-05-31 10:56:32 +02:00