I have some forms that are structured using display:table-row and display: table-cell. On Firefox 52, I could hide a cell element using visibility:hidden, hiding the cell but keeping the structure defined by CSS (instead of using display:none).
On Firefox 64 though (and also chrome), when I hide the visibility of the cell, the parent table-row loses its background color on that position.
Here's a snippet showing the issue:
#tableRow{
display: table-row;
background-color: #f5f5f5;
}
.cell{
display:table-cell;
}
#hide{
visibility:hidden;
}
<div id="tableRow">
<a href="#" class="cell">Visible</a>
<a href"#" class="cell"id="hide">Not visible</a>
<a href="#" class="cell">Visible</a>
</div>
I tried using opacity: 0 but some elements are clickable or have different events and opacity on 0 won't help.
Any thoughts? Is this intended?