Skip to content

[css-borders][css-tables] Define how listified borders collapse #13410

@Loirooriol

Description

@Loirooriol

#13044 listifies borders. Then CSS tables needs to take that into account in https://drafts.csswg.org/css-tables/#border-specificity

Given two borders styles, the border style having the most specificity is the border style which…

  1. … has the value "hidden" as border-style, if only one does

  2. … has the biggest border-width, once converted into css pixels

  3. … has the border-style which comes first in the following list:

    double, solid, dashed, dotted, ridge, outset, groove, inset, none
    

The length of the border list is something that we might want to compare.

For lists of same length, I guess we can compare border styles lexicographically using the order above.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions