Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move summary list border from cells to rows
Simplify the code by moving the bottom border to the row itself. This requires us to set `border-collapse: collapse` in order to use the collapsing border model [1] as in the separated borders model (the initial border model) – 'rows, columns, row groups, and column groups cannot have borders' [2]. Unfortunately some browsers, including IE11 and Safari, still omit the border where a row is missing cells – so we do still need to provide the empty pseudo-element 'cell' for rows without actions. [1]: https://drafts.csswg.org/css2/#collapsing-borders [2]: https://drafts.csswg.org/css2/#:~:text=Rows%2C%20columns%2C%20row%20groups%2C%20and%20column%20groups%20cannot%20have%20borders%20(i.e.%2C%20user%20agents%20must%20ignore%20the%20border%20properties%20for%20those%20elements).
- Loading branch information