untangle border/column-rule/outline-width from *-style properties value#44195
Open
sb3nder wants to merge 2 commits into
Open
untangle border/column-rule/outline-width from *-style properties value#44195sb3nder wants to merge 2 commits into
border/column-rule/outline-width from *-style properties value#44195sb3nder wants to merge 2 commits into
Conversation
Contributor
|
Preview URLs (3 pages)
(comment last updated: 2026-06-10 13:55:07) |
estelle
reviewed
Jun 10, 2026
estelle
left a comment
Member
There was a problem hiding this comment.
Outline style is OK.
I did not check line-style. Please do. As the other content can be changed/improved, but not removed, as the computed value is actually important in those two cases, and likely line style.
| - `<line-style>` | ||
| - : Describes the style of the border. It can have the following values: | ||
| - `none` | ||
| - : Like the `hidden` keyword, displays no border. Unless a {{cssxref("background-image")}} is set, the computed value of the same side's {{cssxref("border-width")}} will be `0`, even if the specified value is something else. In the case of table cell and border collapsing, the `none` value has the _lowest_ priority: if any other conflicting border is set, it will be displayed. |
Member
There was a problem hiding this comment.
this is actually important to explain.
if you do
border: 20px solid dashed;and then:
border-style: hidden;the box-model of that element is changed,
and then latter add this to the element:
border-style: dotted;
the border-width is 20px when shown as dotted.
this is true for both hidden and none
Contributor
Author
There was a problem hiding this comment.
I changed "computed value" to "used value", PTAL.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
untangle the computed value for
border-*-width,column-rule-widthandoutline-widthfrom their related*-styleproperties.Additional details
w3c/csswg-drafts#11494 (comment)
Related issues and pull requests
Relates #44193
Relates mdn/data#1069