Skip to content

[BUG] Some irregular tables are rendered incorrectly #889

@szymon-zygula

Description

@szymon-zygula

Describe the bug:
Some tables with mixed rowspans and colspans render cells in incorrect places.

HTML to reproduce the issue:

<table>
  <tr>
    <td style="border: 1px solid black;" colspan="2" rowspan="2">PROBLEMATIC</td>
    <td style="border: 1px solid black;" colspan="2">ALRIGHT</td>
  </tr>
  <tr>
    <td style="border: 1px solid black;">WRONG</td>
    <td style="border: 1px solid black;">WRONG</td>
  </tr>
  <tr>
    <td style="border: 1px solid black;">AAAAA</td>
    <td style="border: 1px solid black;">BBBBB</td>
    <td style="border: 1px solid black;">CCCCC</td>
    <td style="border: 1px solid black;">DDDDD</td>
  </tr>
</table>
PROBLEMATIC ALRIGHT
WRONG WRONG
AAAAA BBBBB CCCCC DDDDD

Html widget configuration:
The bug is present even when only the data field it set.

Screenshots:
table

A picture of a cute animal (not mandatory but encouraged)

 ____O-
/\  /\

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions