|
8 | 8 | Group: csswg |
9 | 9 | ED: https://drafts.csswg.org/css-backgrounds/ |
10 | 10 | TR: https://www.w3.org/TR/css-backgrounds-3/ |
| 11 | +Previous Version: https://www.w3.org/TR/2024/CRD-css-backgrounds-3-20240311/ |
11 | 12 | Previous Version: https://www.w3.org/TR/2020/CR-css-backgrounds-3-20201222/ |
12 | 13 | Previous Version: https://www.w3.org/TR/2017/CR-css-backgrounds-3-20171017/ |
13 | 14 | Previous version: https://www.w3.org/TR/2014/CR-css3-background-20140909/ |
@@ -2079,7 +2080,7 @@ Line Thickness: the 'border-width' properties</h3> |
2079 | 2080 | Inherited: no |
2080 | 2081 | Logical property group: border-width |
2081 | 2082 | Percentages: N/A |
2082 | | - Computed value: absolute length, [=snapped as a border width=]; zero if the border style is ''border-style/none'' or ''hidden'' |
| 2083 | + Computed value: absolute length, [=snapped as a border width=] |
2083 | 2084 | Animation Type: by computed value |
2084 | 2085 | </pre> |
2085 | 2086 |
|
@@ -2156,6 +2157,11 @@ Line Thickness: the 'border-width' properties</h3> |
2156 | 2157 | If there are four values |
2157 | 2158 | they apply to the top, right, bottom, and left, respectively. |
2158 | 2159 |
|
| 2160 | + The [=resolved value=] for the 'border-width' properties is the [=used value=]. |
| 2161 | + |
| 2162 | + If the 'border-style' corresponding to a given 'border-width' is ''border-style/none'' or ''hidden'', |
| 2163 | + then the [=used value|used=] width is 0. |
| 2164 | + |
2159 | 2165 | Note: Although the [=initial value|initial=] width is ''medium'', |
2160 | 2166 | the [=initial value|initial=] style is ''border-style/none''; |
2161 | 2167 | therefore the [=used value|used=] initial width is 0. |
@@ -3714,6 +3720,10 @@ Changes</h2> |
3714 | 3720 | Changes since the 11 March 2024 Candidate Recommendation Draft</h3> |
3715 | 3721 |
|
3716 | 3722 | <ul> |
| 3723 | + <li>Changed the special case of 'border-width' having a value of ''0'' when 'border-style' is ''border-style/none'' or ''border-style/hidden'' |
| 3724 | + from a computed-value effect to a resolved-value effect. |
| 3725 | + (<a href="https://github.com/w3c/csswg-drafts/issues/11494">Issue 11494</a>) |
| 3726 | + |
3717 | 3727 | <!-- to 5 Nov 2025 --> |
3718 | 3728 | <li>Altered the border-radius outset adjustment, |
3719 | 3729 | so the radius reduction factor in the |
|
0 commit comments