mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
The `is_ignorable_whitespace()` check in table fixup traverses anonymous block wrappers to see if they contain only whitespace. It rejected out-of-flow and text descendants but silently skipped in-flow non-text elements like `<span>`, misclassifying wrappers with real content as ignorable and absorbing them into the table structure.
4 lines
90 B
HTML
4 lines
90 B
HTML
<!DOCTYPE html>
|
|
<div style="display:table-cell"></div>
|
|
<span style="border:solid"></span>
|