LibWeb: Don't crash when encountering border-spacing: calc(...)

This allows us to progress further on this WPT test:
https://wpt.live/quirks/unitless-length/quirks.html

...although it still crashes before finishing.
This commit is contained in:
Andreas Kling 2024-10-09 13:36:09 +02:00 committed by Tim Ledbetter
commit 5e240f997c
Notes: github-actions[bot] 2024-10-09 13:15:20 +00:00
5 changed files with 26 additions and 6 deletions

View file

@ -98,8 +98,8 @@ public:
Optional<CSS::TextAlign> text_align() const;
Optional<CSS::TextJustify> text_justify() const;
Optional<CSS::TextOverflow> text_overflow() const;
CSS::Length border_spacing_horizontal() const;
CSS::Length border_spacing_vertical() const;
CSS::Length border_spacing_horizontal(Layout::Node const&) const;
CSS::Length border_spacing_vertical(Layout::Node const&) const;
Optional<CSS::CaptionSide> caption_side() const;
CSS::Clip clip() const;
CSS::Display display() const;