Andreas Kling
e15b1a33cb
LibWeb: Parse sizes media conditions per HTML
...
The HTML sizes algorithm does not use full media queries. It evaluates
a restricted media-condition grammar and then parses the selected
source size value as a length.
Teach the parser to follow that split more closely: treat sizes
conditions as two-valued booleans, validate MQ5 <general-enclosed>
contents more strictly, accept calc(0) for media feature values, and
reject only source-size math results that are negative or non-finite.
The imported sizes parsing tests then progress from 140/171 to
171/171 in all four cases.
2026-04-05 22:01:18 +02:00
..
2026-01-09 10:00:58 +01:00
2026-04-01 19:41:46 +01:00
2026-01-15 12:03:16 +00:00
2026-03-26 01:11:39 +00:00
2026-02-19 11:27:06 +00:00
2026-03-26 01:11:39 +00:00
2026-01-09 10:00:58 +01:00
2026-03-26 01:11:39 +00:00
2026-01-09 10:00:58 +01:00
2026-03-26 01:11:39 +00:00
2026-01-09 10:00:58 +01:00
2026-03-26 01:11:39 +00:00
2026-03-21 02:44:49 +00:00
2026-03-26 01:11:39 +00:00
2026-01-09 10:00:58 +01:00
2026-03-26 01:11:39 +00:00
2026-01-09 10:00:58 +01:00
2026-03-26 01:11:39 +00:00
2026-01-09 10:00:58 +01:00
2026-03-26 01:11:39 +00:00
2026-04-05 22:01:18 +02:00
2026-04-05 22:01:18 +02:00
2026-02-05 13:48:10 +00:00
2026-03-26 01:11:39 +00:00
2026-03-18 13:21:57 +00:00
2026-03-26 01:11:39 +00:00
2026-03-31 21:02:57 +02:00
2026-03-31 21:02:57 +02:00
2026-01-09 10:00:58 +01:00
2026-03-26 01:11:39 +00:00
2026-01-23 14:26:11 +01:00
2026-02-13 21:54:06 +01:00
2026-03-26 01:11:39 +00:00
2026-03-26 01:11:39 +00:00
2026-03-31 13:48:50 +01:00
2026-03-31 13:48:50 +01:00
2026-01-09 10:00:58 +01:00
2026-03-26 01:11:39 +00:00
2026-02-27 16:25:53 +00:00
2026-03-26 01:11:39 +00:00
2026-02-19 11:27:06 +00:00
2026-03-26 01:11:39 +00:00
2026-03-21 18:20:09 -05:00
2026-03-26 01:11:39 +00:00
2026-03-26 01:11:39 +00:00
2026-03-30 14:05:10 +01:00
2026-03-26 01:11:39 +00:00
2026-01-09 10:00:58 +01:00
2026-03-26 01:11:39 +00:00
2026-02-19 11:27:06 +00:00
2026-03-30 14:05:10 +01:00
2026-02-19 11:27:06 +00:00
2026-03-26 01:11:39 +00:00
2026-02-16 12:09:23 +00:00
2026-03-26 01:11:39 +00:00
2026-03-26 01:11:39 +00:00
2026-03-26 01:11:39 +00:00
2026-02-19 11:27:06 +00:00
2026-03-26 01:11:39 +00:00
2026-02-24 10:05:09 +00:00
2026-03-26 01:11:39 +00:00
2026-02-20 22:01:44 +00:00
2026-03-26 01:11:39 +00:00
2026-03-26 01:11:39 +00:00
2026-02-09 17:36:12 +01:00
2026-03-26 01:11:39 +00:00
2026-02-21 21:46:34 +01:00
2026-03-26 01:11:39 +00:00
2026-01-09 10:00:58 +01:00
2026-03-26 01:11:39 +00:00
2026-01-09 10:00:58 +01:00
2026-03-26 01:11:39 +00:00
2026-03-26 01:11:39 +00:00
2026-02-05 13:48:10 +00:00
2026-03-26 01:11:39 +00:00
2026-02-05 13:48:10 +00:00
2026-03-26 01:11:39 +00:00
2026-03-21 10:29:54 +01:00
2026-03-26 01:11:39 +00:00
2026-01-09 10:00:58 +01:00
2026-03-26 12:30:01 +01:00
2026-02-05 13:48:10 +00:00
2026-03-26 01:11:39 +00:00
2026-02-05 13:48:10 +00:00
2026-03-26 01:11:39 +00:00
2026-02-05 13:48:10 +00:00
2026-03-26 01:11:39 +00:00
2026-01-08 10:51:35 +01:00
2026-03-26 01:11:39 +00:00
2026-02-05 13:48:10 +00:00
2026-03-26 01:11:39 +00:00
2026-03-18 13:21:57 +00:00
2026-03-26 01:11:39 +00:00
2026-01-23 14:26:11 +01:00
2026-03-26 01:11:39 +00:00
2026-01-09 10:00:58 +01:00
2026-03-26 01:11:39 +00:00
2026-03-26 01:11:39 +00:00
2026-03-26 01:11:39 +00:00
2026-02-19 11:27:06 +00:00
2026-03-26 01:11:39 +00:00
2026-03-26 01:11:39 +00:00
2026-03-26 01:11:39 +00:00
2026-02-19 11:27:06 +00:00
2026-03-26 01:11:39 +00:00
2026-02-16 12:09:23 +00:00
2026-03-26 01:11:39 +00:00
2026-03-24 14:00:01 +00:00
2026-03-26 01:11:39 +00:00
2026-03-30 14:05:10 +01:00
2026-03-30 14:05:10 +01:00
2026-02-19 11:27:06 +00:00
2026-03-26 01:11:39 +00:00
2026-03-26 01:11:39 +00:00
2026-02-05 13:48:10 +00:00
2026-03-26 01:11:39 +00:00
2026-03-31 21:02:57 +02:00
2026-03-31 21:02:57 +02:00
2026-03-26 01:11:39 +00:00
2026-02-19 11:27:06 +00:00
2026-03-26 01:11:39 +00:00
2026-03-31 21:02:57 +02:00
2026-03-26 01:11:39 +00:00
2026-03-06 13:43:33 +01:00
2026-03-26 01:11:39 +00:00
2026-03-26 01:11:39 +00:00
2026-03-26 12:30:01 +01:00
2026-03-26 12:30:01 +01:00
2026-02-23 17:30:25 +01:00
2026-03-26 01:11:39 +00:00
2026-01-09 10:00:58 +01:00
2026-03-26 01:11:39 +00:00
2026-01-09 10:00:58 +01:00
2026-03-26 01:11:39 +00:00
2026-02-19 11:27:06 +00:00
2026-03-26 01:11:39 +00:00
2026-03-26 01:11:39 +00:00
2026-01-13 12:40:55 +01:00
2026-03-26 01:11:39 +00:00
2026-01-09 10:00:58 +01:00
2026-03-26 01:11:39 +00:00
2026-02-20 22:01:44 +00:00
2026-03-26 01:11:39 +00:00
2026-01-09 10:00:58 +01:00
2026-03-26 01:11:39 +00:00
2026-03-30 19:57:36 +01:00
2026-03-30 19:57:36 +01:00
2026-03-26 01:11:39 +00:00
2026-02-19 11:27:06 +00:00
2026-03-26 01:11:39 +00:00