1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:58:12 +00:00

LibWeb: Propagate errors when parsing StyleValues

This necessitated returning `nullptr` instead of just `{}` in a lot of
places. Also, some temporary hackiness in `parse_css_value()`: That
returns a special `ParseError` type already, so we now have a
`FIXME_TRY()` macro which logs the error and then returns a generic
`ParseError::InternalError` value. Eventually this macro will go away,
once I figure out how to deal with this more nicely.
This commit is contained in:
Sam Atkins 2023-05-02 13:03:51 +01:00 committed by Andreas Kling
parent d732a83de8
commit ba6d37ee6f
3 changed files with 435 additions and 428 deletions

File diff suppressed because it is too large Load diff