Bug 1306106 - [css-grid] Make the table wrapper box inherit a few grid item properties. r=dholbert
authorMats Palmgren <mats@mozilla.com>
Thu, 29 Sep 2016 21:49:54 +0200
changeset 315899 860fc4fe3763be2794aeca175a3dfeca9330e06c
parent 315898 32f744b48562b3d14e68d64ad74018658eb95281
child 315900 89f6b845f34749a796686f9e41cca9318f002338
push id20634
push usercbook@mozilla.com
push dateFri, 30 Sep 2016 10:10:13 +0000
treeherderfx-team@afe79b010d13 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdholbert
bugs1306106
milestone52.0a1
Bug 1306106 - [css-grid] Make the table wrapper box inherit a few grid item properties. r=dholbert
layout/style/res/ua.css
--- a/layout/style/res/ua.css
+++ b/layout/style/res/ua.css
@@ -34,25 +34,30 @@
   bottom: inherit;
   left: inherit;
   z-index: inherit;
   page-break-before: inherit;
   page-break-after: inherit;
   page-break-inside: inherit;
   vertical-align: inherit; /* needed for inline-table */
   line-height: inherit; /* needed for vertical-align on inline-table */
-  align-self: inherit;
-  justify-self: inherit;
-  order: inherit;   /* needed for "order" to work on table flex/grid items */
   /* Bug 722777 */
   transform: inherit;
   transform-origin: inherit;
   /* Bug 724750 */
   backface-visibility: inherit;
   clip: inherit;
+  /* When the table wrapper is a Flex/Grid item we need these: */
+  align-self: inherit;
+  justify-self: inherit;
+  grid-column-start: inherit;
+  grid-column-end: inherit;
+  grid-row-start: inherit;
+  grid-row-end: inherit;
+  order: inherit;
 }
 
 *|*::-moz-table-row {
   display: table-row !important;
 }
 
 /* The ::-moz-table-column pseudo-element is for extra columns at the end
    of a table. */