@@ -173,19 +173,19 @@ export const gridStyles = css`
173173
174174 : host ([overflow ~= 'top' ]) [part ~= 'last-header-row' ]::before {
175175 content : '' ;
176- inset-block-end : calc (var (--_row-border-width ) * -1 );
177- border-block-end -style : solid;
176+ bottom : calc (var (--_row-border-width ) * -1 );
177+ border-bottom -style : solid;
178178 }
179179
180180 : host ([overflow ~= 'bottom' ]) [part ~= 'first-footer-row' ]::before ,
181181 : host (: not ([overflow ~= 'top' ])) # scroller: not ([empty-state ]) [part ~= 'first-footer-row' ]::before {
182182 content : '' ;
183- inset-block-start : calc (var (--_row-border-width ) * -1 );
184- border-block-start -style : solid;
183+ top : calc (var (--_row-border-width ) * -1 );
184+ border-top -style : solid;
185185 }
186186
187187 [part ~= 'body-row' ] {
188- scroll-margin-block-end : var (--_row-border-width );
188+ scroll-margin-bottom : var (--_row-border-width );
189189 }
190190
191191 /* stylelint-disable-next-line no-duplicate-selectors */
@@ -198,15 +198,15 @@ export const gridStyles = css`
198198 [part ~= 'footer-cell' ]: not ([part ~= 'first-footer-row-cell' ]),
199199 [part ~= 'body-cell' ]: not ([part ~= 'first-row-cell' ]),
200200 # table [has-header ] [part ~= 'first-row-cell' ] {
201- border-block-start -style : solid;
201+ border-top -style : solid;
202202 }
203203
204204 [part ~= 'details-opened-row-cell' ],
205205 # table [has-footer ] [part ~= 'last-row-cell' ],
206206 # table [has-footer ] [part ~= 'last-row' ] [part ~= 'details-cell' ],
207207 : host (: not ([overflow ~= 'bottom' ]): not ([overflow~= 'top' ])) [part ~= 'last-row-cell' ],
208208 : host (: not ([overflow ~= 'bottom' ]): not ([overflow ~= 'top' ])) [part ~= 'last-row' ] [part ~= 'details-cell' ] {
209- border-block-end -style : solid;
209+ border-bottom -style : solid;
210210 }
211211
212212 [part ~= 'header-cell' ]: not ([part ~= 'first-column-cell' ]),
@@ -346,11 +346,11 @@ export const gridStyles = css`
346346 }
347347
348348 # table [has-header ] # emptystatecell {
349- border-block-start -style : solid;
349+ border-top -style : solid;
350350 }
351351
352352 # table [has-footer ] # emptystatecell {
353- border-block-end -style : solid;
353+ border-bottom -style : solid;
354354 }
355355
356356 # emptystatecell : focus-visible {
@@ -506,23 +506,23 @@ export const gridStyles = css`
506506
507507 [part ~= 'first-header-row-cell' ]::after ,
508508 # table : not ([has-header ]) [part ~= 'first-row-cell' ]::after {
509- inset-block-start : 0 ;
509+ top : 0 ;
510510 }
511511
512512 [part ~= 'first-footer-row' ]::after {
513- inset-block-start : calc (var (--_row-border-width ) * -1 );
513+ top : calc (var (--_row-border-width ) * -1 );
514514 }
515515
516516 [part ~= 'last-row' ]::after ,
517517 [part ~= 'last-footer-row' ]::after ,
518518 [part ~= 'last-footer-row-cell' ]::after {
519- inset-block-end : 0 ;
519+ bottom : 0 ;
520520 }
521521
522522 [part ~= 'last-row' ] [part ~= 'details-cell' ]::after ,
523523 [part ~= 'last-row' ]: not ([part ~= 'details-opened-row' ]) [part ~= 'last-row-cell' ]::after {
524524 : host ([overflow ~= 'top' ]) # table : not ([has-footer ]) & {
525- inset-block-end : 0 ;
525+ bottom : 0 ;
526526 }
527527 }
528528
0 commit comments