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-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-06-13 06:08:27 +02:00
2023-06-02 20:03:28 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-05-29 05:35:41 +02:00
2023-05-29 05:35:41 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-05-25 15:31:20 +01:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-06-13 06:08:27 +02:00
2023-05-24 14:40:35 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-06-07 14:13:07 +02:00
2023-06-07 14:13:07 +02:00
2023-04-28 09:42:28 +02:00
2023-05-06 08:07:28 +02:00
2023-06-11 20:37:12 +02:00
2023-06-11 20:37:12 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-06-01 21:04:21 +02:00
2023-06-01 21:04:21 +02:00
2023-05-06 08:07:28 +02:00
2023-05-27 16:12:25 +02:00
2023-06-13 06:08:27 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-06-01 21:04:21 +02:00
2023-06-01 21:04:21 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-06-01 09:06:13 +02:00
2023-06-01 09:06:13 +02:00
2023-05-06 08:07:28 +02:00
2023-06-13 06:08:27 +02:00
2023-05-06 08:07:28 +02:00
2023-06-09 20:37:51 +02:00
2023-05-06 08:07:28 +02:00
2023-05-27 16:12:25 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00
2023-05-06 08:07:28 +02:00