Skip to content

Improve styling of colspans and checkmarks in tables #4775

@kainino0x

Description

@kainino0x

Right now we have some custom styling around colspans to try to make them easier to spot:

  • some additional borders
  • centering cells

However there are some cases where it's unclear - in particular when a colspan=2 is next to a non-colspan, the colspan is centered and the non-colspan is left-aligned. When the content is a checkmark especially, this can make it look like it's in the second column, and the first one is blank

What I'd like to do:

  • Add borders for every cell in tables that don't have them Never mind about this one, we already have borders everywhere we need them (I think we used to not, probably fixed it already or Bikeshed changed its styles)
  • Make the borders easier to see
  • Center things by column instead of based on colspan (or just don't center at all - clearer borders would make this fine)
  • Add more explicit ✗ where we currently just leave a blank, OR consider using
    <input type=checkbox disabled>
    <input type=checkbox disabled checked>
    if it's possible to make that look good
  • (unrelated) Fix the position: sticky applying only to the first row and not the whole <thead> (this is a problem in the STORAGE_BINDING columns)

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiWebGPU APIcopyeditingPure editorial stuff (copyediting, *.bs file syntax, etc.)

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions