Skip to content

feat(css): update computed for border/column-rule/outline-width, outline-offset#1069

Draft
sb3nder wants to merge 2 commits into
mdn:mainfrom
sb3nder:computed-border-width
Draft

feat(css): update computed for border/column-rule/outline-width, outline-offset#1069
sb3nder wants to merge 2 commits into
mdn:mainfrom
sb3nder:computed-border-width

Conversation

@sb3nder
Copy link
Copy Markdown
Contributor

@sb3nder sb3nder commented May 9, 2026

Description

This PR updates the computed value for border-*-width, column-rule-width, outline-width, outline-offset, -webkit-border-*-width, to "the absolute length, snapped as a line width".

Motivation

Additional details

border-*-width, column-rule-width, outline-width snapped as a line width:
w3c/csswg-drafts#5210

Computed value untangled from *-style properties value:
w3c/csswg-drafts#11494 (comment)

outline-offset snapped as a line width:
w3c/csswg-drafts#12906

Definition of "length snapped as a line width":
https://drafts.csswg.org/css-values-4/#snap-as-a-line-width

Related issues and pull requests

Depends on: mdn/content#44193

@sb3nder sb3nder changed the title feat(css): Update computed for border/column-rule/outline-width, outline-offset feat(css): update computed for border/column-rule/outline-width, outline-offset May 19, 2026
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.

1 participant