Linus Groh
b32893eb54
LibWeb: Let canvas {fill,stroke}Style default to black, not transparent
...
I don't know if the original author simply missed this or thought the
default color of Gfx::Color is black, but this meant that drawing on a
canvas without explicitly setting a fillStyle or strokeStyle first would
be drawn in transparent color and therefore be invisible.
In the spec this is indicated by a small comment in the IDL definition:
attribute ... strokeStyle; // (default black)
attribute ... fillStyle; // (default black)
I'm starting to question whether Gfx::Color actually *should* have a
default constructor.
2021-12-27 16:43:23 +01:00
..
2021-11-18 21:11:30 +01:00
2021-12-10 21:27:13 +01:00
2021-09-18 01:39:59 +02:00
2021-10-23 19:07:44 +02:00
2021-09-07 13:53:14 +02:00
2021-11-18 21:11:30 +01:00
2021-11-18 21:11:30 +01:00
2021-12-04 14:47:24 +01:00
2021-12-04 14:47:24 +01:00
2021-12-27 16:43:23 +01:00
2021-12-27 16:43:23 +01:00
2021-10-01 20:14:45 +02:00
2021-10-01 20:14:45 +02:00
2021-09-26 12:47:51 +02:00
2021-09-25 23:36:43 +02:00
2021-07-05 12:39:46 +02:00
2021-07-05 12:39:46 +02:00
2021-09-26 18:59:56 +02:00
2021-09-26 18:59:56 +02:00
2021-09-26 18:59:56 +02:00
2021-06-27 22:36:04 +02:00
2021-09-25 17:51:30 +02:00
2021-09-19 01:43:27 +02:00
2021-09-12 01:41:44 +02:00
2021-09-12 01:41:44 +02:00
2021-09-12 01:41:44 +02:00
2021-10-03 21:31:46 +02:00
2021-10-03 21:31:46 +02:00
2021-10-03 21:31:46 +02:00
2021-10-03 21:40:37 +01:00
2021-10-03 21:31:46 +02:00
2021-10-03 21:31:46 +02:00
2021-08-01 08:10:16 +02:00
2021-10-23 11:42:24 +02:00
2021-10-06 19:12:52 +02:00
2021-11-13 00:55:07 +01:00
2021-11-13 00:55:07 +01:00
2021-11-13 00:55:07 +01:00
2021-10-06 17:14:22 +02:00
2021-09-30 01:35:19 +02:00
2021-09-30 01:35:19 +02:00
2021-11-18 21:11:30 +01:00
2021-11-17 22:20:01 +01:00
2021-10-27 17:58:57 +02:00
2021-10-03 21:31:46 +02:00
2021-10-03 21:31:46 +02:00
2021-11-18 21:11:30 +01:00
2021-09-26 02:25:02 +02:00
2021-10-18 10:40:30 +02:00
2021-11-18 21:11:30 +01:00
2021-10-06 19:12:52 +02:00
2021-11-18 21:11:19 +01:00
2021-11-18 21:11:19 +01:00
2021-09-07 13:53:14 +02:00
2021-10-18 10:40:30 +02:00
2021-12-21 13:50:00 -08:00
2021-09-26 02:05:49 +02:00
2021-09-03 23:11:58 +02:00
2021-10-12 12:17:25 +02:00
2021-10-15 21:05:35 +01:00
2021-10-15 21:05:35 +01:00
2021-10-01 00:17:24 +01:00
2021-10-28 12:53:31 +02:00
2021-12-21 13:51:15 -08:00
2021-07-05 12:39:46 +02:00
2021-07-05 12:39:46 +02:00
2021-09-16 01:39:47 +02:00
2021-05-30 12:39:53 +02:00
2021-11-08 00:35:27 +01:00
2021-09-19 22:34:44 +02:00
2021-09-19 22:34:44 +02:00
2021-09-19 22:34:44 +02:00
2021-10-01 20:14:45 +02:00
2021-10-01 20:14:45 +02:00
2021-10-01 20:14:45 +02:00
2021-09-25 23:36:43 +02:00
2021-09-19 22:34:44 +02:00
2021-10-01 20:14:45 +02:00
2021-10-01 20:14:45 +02:00
2021-10-11 13:30:17 +01:00
2021-10-11 13:30:17 +01:00
2021-10-01 20:14:45 +02:00
2021-10-01 20:14:45 +02:00
2021-10-01 20:14:45 +02:00
2021-09-25 23:36:43 +02:00