Skip to content

Conversation

noamr
Copy link
Collaborator

@noamr noamr commented Oct 2, 2025

border-shape takes its color (and thickness if single-path) from one of the border sides, namely the first one (in logical order) that has a border-style other than none.

Also define half-border-box as per resolution, in css-shapes-1.

Resolution: #11662 (comment)
Closes #11662

…r-shape

border-shape takes its color (and thickness if single-path) from one of the
border sides, namely the first one (in logical order) that has a border-style
other than none.

Also define half-border-box as per resolution, in css-shapes-1.

w3c#11662 (comment)

Closes w3c#11662
@noamr noamr requested review from SebastianZ and tabatkins October 13, 2025 15:40
Copy link
Member

@tabatkins tabatkins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one style nit, otherwise lgtm

Co-authored-by: Tab Atkins Jr. <jackalmage@gmail.com>
@noamr noamr merged commit 5812df6 into w3c:main Oct 14, 2025
1 check passed
@SebastianZ
Copy link
Contributor

Sorry, little late. I just had one remark regarding the wording.

Sebastian

path that the given <<basic-shape>> resolves to,
while the double-path border shape variant fills the area between the two paths as if it were the border.

When two <<basic-shape>> values are given, the border is rendered between the paths generated shapes.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this small change makes the sentence more readable.

Suggested change
When two <<basic-shape>> values are given, the border is rendered between the paths generated shapes.
When two <<basic-shape>> values are given, the border is rendered as the shape between the two paths.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[css-borders-4] Interaction of single-path border-shape with non-uniform border-width

3 participants