Skip to content

[css-borders-4][border-shape] Interaction between border-shape and border-style not specified #14953

Backlog

Description

@smfr

The spec doesn't say if border-style should be respected for any values of border-shape. It would be possible to support some values of <line-style> on the single-shape form, namely dotted, dashed, solid and double, but should we? Would the behavior difference between the single and two-shape forms be confusing?

Activity

  1. smfr commented on Dec 4, 2026

    @smfr
    ContributorAuthor
  2. noamr commented on Dec 4, 2026

    @noamr
    Collaborator

    I don't think border-style rendering is specified also for regular borders?

  3. smfr commented on Dec 5, 2026

    @smfr
    ContributorAuthor

    Exact rendering may not be specified, but the various styles are described. The question here is whether single-path borders should get dotted, dashed etc at all. It does seem implementable.

  4. bradkemper commented on Dec 5, 2026

    @bradkemper
    Contributor

    I would certainly hope they would be implemented (at least for dotted and dashed (do people actually use double or the 3d styles anymore?)). Perhaps they can even be defined more precisely to match some preset SVG stroke-dasharray, and stroke-linecap,

  5. smfr commented on Dec 5, 2026

    @smfr
    ContributorAuthor

    Dup of #14149 I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions