litehtml::document::fix_tables_layout() will fix up the table element hierarchies by adding anonymous tags with proper display property so that they become complete (kind of a canonicalization process). The issue is that changing the display type of an element (e.g. from table to inline-block) will not clear the aforementioned created elements.
litehtml::document::fix_tables_layout() will fix up the table element hierarchies by adding anonymous tags with proper display property so that they become complete (kind of a canonicalization process). The issue is that changing the display type of an element (e.g. from table to inline-block) will not clear the aforementioned created elements.