Skip to content

Commit

Permalink
Remove print thead rule (#34426)
Browse files Browse the repository at this point in the history
The `thead` rule is safe to remove -- it was a workaround for browsers that didn't conform to this part of the CSS 2.1 spec. (https://www.w3.org/TR/CSS21/tables.html#table-display)
In practice, this meant IE 6 & IE 7.

(thanks to @mattbrundage for this PR upstream for the main.css project (h5bp/main.css#101)
  • Loading branch information
coliff authored Jul 8, 2021
1 parent 086c0bf commit 6c2c14d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions scss/_print.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,6 @@
page-break-inside: avoid;
}

//
// Printing Tables:
// https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
//

thead {
display: table-header-group;
}

tr,
img {
page-break-inside: avoid;
Expand Down

0 comments on commit 6c2c14d

Please sign in to comment.