Skip to content

Commit

Permalink
Change <td hidden> to render as display: none
Browse files Browse the repository at this point in the history
This aligns with implementations and avoids potentially breaking
existing web content that expect display: none.

Tests: web-platform-tests/wpt#11339

Fixes #3728.
  • Loading branch information
zcorpan committed Jun 5, 2018
1 parent 0d28f8f commit b3c7c89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -111270,10 +111270,10 @@ thead, thead[hidden] { display: table-header-group; }<!-- see also unicode-bidi:
tbody, tbody[hidden] { display: table-row-group; }<!-- see also unicode-bidi:isolate rules -->
tfoot, tfoot[hidden] { display: table-footer-group; }<!-- see also unicode-bidi:isolate rules -->
tr, tr[hidden] { display: table-row; }<!-- see also unicode-bidi:isolate rules -->
td, th, td[hidden], th[hidden] { display: table-cell; }<!-- see also unicode-bidi:isolate rules -->
td, th { display: table-cell; }<!-- see also unicode-bidi:isolate rules -->

colgroup[hidden], col[hidden], thead[hidden], tbody[hidden],
tfoot[hidden], tr[hidden], td[hidden], th[hidden] {
tfoot[hidden], tr[hidden] {
visibility: collapse;
}

Expand Down

0 comments on commit b3c7c89

Please sign in to comment.