]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Remove print thead rule (#34426)
authorChristian Oliff <christianoliff@pm.me>
Thu, 8 Jul 2021 05:28:53 +0000 (14:28 +0900)
committerGitHub <noreply@github.com>
Thu, 8 Jul 2021 05:28:53 +0000 (08:28 +0300)
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 (https://github.com/h5bp/main.css/pull/101)

scss/_print.scss

index 8f73024a8bb875428dff420aa5e77e64f99739d2..915298aaae94c35ce1f2aa413f30f1ac14d7549d 100644 (file)
       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;