Jonatan Klemets
04bc9b14d0
LibWeb: Use parse_non_negative_integer for colspan and rowspan parsing
...
`DeprecatedString::to_int` calls `StringUtils::convert_to_int`
internally. However, the integer parsing is not done in an HTML
spec-compliant way. For example, `colspan="2;"` is valid according to
the spec. But, with the current implementation, we will fail to parse
"2;", and instead fall back to using 1 as the colspan value.
This patch changes the `HTMLTableCellElement::col_span` and
`HTMLTableCellElement::row_span` methods to use the
`Web::HTML::parse_non_negative_integer` function that will parse the
attribute value in an HTML spec-compliant way.
2023-08-24 22:26:53 +01:00
..
2023-08-24 07:08:21 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 19:37:50 +02:00
2023-08-24 20:18:00 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-24 22:26:53 +01:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-21 13:51:12 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-21 13:51:56 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 19:37:50 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-21 13:51:12 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-23 05:24:55 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-21 19:31:00 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-21 19:31:00 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00
2023-08-20 05:02:59 +02:00