gajus/wholly

td with display:none should be treated as rowspan=0,colspan=0

Open

#8 opened on Jun 5, 2018

 (2 comments) (0 reactions) (0 assignees)JavaScript (29 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (201 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Consider a table where some of the are switched on and off by having "style='display:none'". For a of this type, it is removed entirely from the table, and the HTML treats it as never existing (effectively a zero rowspan/colspan).

However, wholly still counts these cells as if they were there with a normal colspan/rowspan of 1.

As a result, the vertical/horizontal highlighting goes completely crooked.

Contributor guide