Sam Atkins
79a30c209d
LibWeb: Add SVG-presentation-attribute-parsing mode to CSS parser
...
When parsing these, <number> is allowed anywhere that would usually
allow a <length>, <length-percentage>, or <angle>. The spec is not
clear on exactly how this should work
(see https://github.com/w3c/svgwg/issues/792 ) so I'm using some
artistic license until things are clearer:
- If we expected a <length>, treat the <number> as pixels.
- If we expected an <angle>, treat the <number> as degrees.
- Only allow direct <number> tokens, not calc() or other functions.
From what I can tell this is what the spec *intended* but I may be very
wrong. In any case, telling the ParsingContext whether we're parsing
one of these attributes is a cleaner approach and more correct than
temporarily enabling quirks mode, which we did previously.
2023-09-26 20:01:55 +02:00
..
2023-09-26 20:01:55 +02:00
2023-09-25 04:16:36 +02:00
2023-08-29 07:57:39 -04:00
2023-09-10 08:38:29 +01:00
2023-08-22 17:51:48 +01:00
2023-08-22 17:51:48 +01:00
2023-09-07 20:16:33 +02:00
2023-09-19 10:46:05 +02:00
2023-08-22 17:51:48 +01:00
2023-08-08 07:39:11 +02:00
2023-08-29 10:05:02 +02:00
2023-09-02 19:23:41 +01:00
2023-08-25 11:51:28 +02:00
2023-08-13 15:38:42 +02:00
2023-08-08 07:39:11 +02:00
2023-08-08 07:39:11 +02:00
2023-08-13 15:38:42 +02:00
2023-08-13 15:38:42 +02:00
2023-08-13 15:38:42 +02:00
2023-08-29 10:05:02 +02:00
2023-09-02 19:23:41 +01:00
2023-09-04 18:22:59 +02:00
2023-09-04 18:22:59 +02:00
2023-09-02 19:23:41 +01:00
2023-08-29 10:05:02 +02:00
2023-08-29 10:05:02 +02:00
2023-08-22 17:51:48 +01:00
2023-08-13 15:38:42 +02:00
2023-07-30 20:27:19 +01:00
2023-07-30 20:27:19 +01:00
2023-09-06 11:44:45 -04:00
2023-08-13 15:38:42 +02:00
2023-09-25 04:16:36 +02:00
2023-09-25 04:16:36 +02:00
2023-09-09 10:47:12 -06:00
2023-08-22 17:51:48 +01:00
2023-08-13 15:38:42 +02:00
2023-09-06 11:44:45 -04:00
2023-09-05 20:36:09 -04:00
2023-08-29 10:05:02 +02:00
2023-08-29 10:05:02 +02:00
2023-09-09 07:45:05 +02:00
2023-09-11 17:03:22 +01:00
2023-09-11 17:03:22 +01:00
2023-09-01 09:40:14 +02:00
2023-09-01 09:40:14 +02:00
2023-09-11 17:03:22 +01:00
2023-08-25 11:51:28 +02:00
2023-08-22 17:51:48 +01:00
2023-08-22 17:51:48 +01:00
2023-08-28 09:19:41 +02:00
2023-08-28 09:19:41 +02:00
2023-08-22 17:51:48 +01:00
2023-08-22 17:51:48 +01:00
2023-09-17 15:45:52 -06:00
2023-09-16 16:53:32 +02:00
2023-08-26 23:53:45 +02:00
2023-08-02 12:49:46 +01:00
2023-08-29 10:05:02 +02:00
2023-08-29 10:05:02 +02:00
2023-09-02 19:23:41 +01:00
2023-09-20 18:29:17 +02:00
2023-08-22 17:51:48 +01:00
2023-08-22 17:51:48 +01:00
2023-08-13 15:38:42 +02:00
2023-08-13 15:38:42 +02:00
2023-08-13 15:38:42 +02:00
2023-09-02 19:23:41 +01:00
2023-08-22 17:51:48 +01:00
2023-08-22 17:51:48 +01:00
2023-08-30 20:09:15 +02:00
2023-08-30 20:09:15 +02:00
2023-09-09 13:03:11 +02:00
2023-08-22 17:51:48 +01:00
2023-09-19 10:46:05 +02:00
2023-09-13 19:55:22 +02:00
2023-08-22 17:51:48 +01:00
2023-09-04 12:40:17 +02:00
2023-08-25 20:10:47 +02:00
2023-08-22 17:51:48 +01:00
2023-09-25 00:46:21 +01:00
2023-09-09 10:47:12 -06:00
2023-08-13 15:38:42 +02:00
2023-08-13 15:38:42 +02:00
2023-08-22 17:51:48 +01:00
2023-08-22 17:51:48 +01:00
2023-09-13 19:55:22 +02:00
2023-08-08 20:49:45 +01:00
2023-08-22 17:51:48 +01:00
2023-08-22 17:51:48 +01:00
2023-08-30 20:09:15 +02:00
2023-08-30 20:09:15 +02:00
2023-09-25 15:39:29 +02:00
2023-09-11 17:03:22 +01:00
2023-09-17 15:45:52 -06:00
2023-09-17 15:45:52 -06:00
2023-09-05 20:36:09 -04:00
2023-09-05 20:36:09 -04:00
2023-08-13 15:38:42 +02:00
2023-08-13 15:38:42 +02:00
2023-09-25 00:46:21 +01:00
2023-09-25 00:46:21 +01:00
2023-08-22 17:51:48 +01:00
2023-08-22 17:51:48 +01:00
2023-08-25 20:30:20 +01:00
2023-08-25 20:30:20 +01:00
2023-08-22 17:51:48 +01:00
2023-08-22 17:51:48 +01:00
2023-08-02 12:49:46 +01:00
2023-08-22 17:51:48 +01:00
2023-09-16 16:53:32 +02:00
2023-08-13 15:38:42 +02:00
2023-08-06 16:29:24 +02:00