diff --git a/Userland/Libraries/LibWeb/Layout/TableCellBox.cpp b/Userland/Libraries/LibWeb/Layout/TableCellBox.cpp index 197fe59b87..b1863ee459 100644 --- a/Userland/Libraries/LibWeb/Layout/TableCellBox.cpp +++ b/Userland/Libraries/LibWeb/Layout/TableCellBox.cpp @@ -47,7 +47,7 @@ TableCellBox::~TableCellBox() size_t TableCellBox::colspan() const { if (!dom_node()) - return 0; + return 1; return downcast(*dom_node()).attribute(HTML::AttributeNames::colspan).to_uint().value_or(1); }