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-03-18 19:50:45 +01:00
2023-06-09 17:20:34 +02:00
2023-05-27 18:40:41 +02:00
2023-06-11 19:34:24 +02:00
2023-02-18 00:52:47 +01:00
2023-02-18 00:52:47 +01:00
2023-04-28 09:42:28 +02:00
2023-04-28 09:42:28 +02:00
2023-04-28 09:42:28 +02:00
2023-02-18 00:52:47 +01:00
2023-01-29 00:02:45 +00:00
2023-01-29 00:02:45 +00:00
2023-01-29 00:02:45 +00:00
2023-06-11 19:34:24 +02:00
2023-06-13 06:08:27 +02:00
2023-06-11 20:37:12 +02:00
2023-01-29 00:02:45 +00:00
2023-01-29 00:02:45 +00:00
2023-06-03 05:58:00 +02:00
2023-06-03 05:58:00 +02:00
2023-03-20 20:37:40 -04:00
2023-02-18 00:52:47 +01:00
2023-01-29 00:02:45 +00:00
2023-05-06 08:07:28 +02:00
2023-01-29 00:02:45 +00:00
2023-02-22 09:55:33 +01:00
2023-01-29 00:02:45 +00:00
2023-05-20 08:52:19 +02:00
2023-05-04 16:50:01 +02:00
2023-04-28 09:42:28 +02:00
2023-06-13 06:08:27 +02:00
2023-06-11 19:34:24 +02:00
2023-02-18 00:52:47 +01:00
2023-02-18 00:52:47 +01:00
2023-05-04 16:50:01 +02:00
2023-04-28 09:42:28 +02:00
2023-04-28 09:42:28 +02:00
2023-02-18 00:52:47 +01:00
2023-01-29 00:02:45 +00:00
2023-03-06 23:46:35 +01:00
2023-02-08 19:15:45 +00:00
2023-01-29 00:02:45 +00:00
2023-01-29 00:02:45 +00:00
2023-01-29 00:02:45 +00:00
2023-01-29 00:02:45 +00:00
2023-05-08 09:29:44 +02:00
2023-05-04 16:50:01 +02:00
2023-05-04 16:50:01 +02:00
2023-02-18 00:52:47 +01:00
2023-02-10 23:33:16 +01:00
2023-05-20 08:52:19 +02:00
2023-05-20 08:52:19 +02:00
2023-04-28 09:42:28 +02:00
2023-06-09 17:14:50 +02:00
2023-06-09 17:14:50 +02:00
2023-06-09 17:14:50 +02:00
2023-05-06 08:07:28 +02:00
2023-04-17 07:32:31 +02:00
2023-06-03 05:58:00 +02:00
2023-06-03 05:58:00 +02:00
2023-06-03 05:58:00 +02:00
2023-06-11 19:04:30 +02:00
2023-06-09 17:20:34 +02:00
2023-06-09 01:12:48 +02:00
2023-06-09 01:12:48 +02:00
2023-06-09 01:12:48 +02:00
2023-06-03 05:58:00 +02:00
2023-06-03 05:58:00 +02:00
2023-06-03 05:58:00 +02:00
2023-03-18 19:50:45 +01:00
2023-06-09 17:14:50 +02:00
2023-04-12 07:40:22 +02:00
2023-05-24 14:40:35 +02:00