Skip to content

Commit 075522e

Browse files
committed
[css-backgrounds-3] Defined border-width: thin/medium/thick precisely. w3c#7254
1 parent ba4e274 commit 075522e

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

css-backgrounds-3/Overview.bs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1405,12 +1405,9 @@ Where
14051405
<pre class=prod><dfn><<line-width>></dfn> = <<length [0,&infin;]>> | thin | medium | thick</pre>
14061406

14071407
<p dfn-type=value dfn-for="<line-width>, border-width, border-top-width, border-left-width, border-bottom-width, border-right-width, border">
1408-
The lengths corresponding to <dfn>thin</dfn>, <dfn>medium</dfn>, and <dfn>thick</dfn>
1409-
are not specified, but the values are constant throughout a
1410-
<span>document</span> and thin &le; medium &le; thick. A UA could,
1411-
e.g., make the thickness depend on the ''medium'' font size: one
1412-
choice might be 1, 3 &amp; 5px when the ''medium'' font size is 17px or
1413-
less. Negative values are invalid.
1408+
Negative values are invalid.
1409+
The <dfn>thin</dfn>, <dfn>medium</dfn>, and <dfn>thick</dfn> keywords
1410+
are equivalent to ''1px'', ''3px'', and ''5px'', respectively.
14141411

14151412
<p>The 'border-width' property is a shorthand property for setting
14161413
'border-top-width', 'border-right-width', 'border-bottom-width', and 'border-left-width'
@@ -2610,6 +2607,8 @@ Changes since the 22 December 2020 Candidate Recommendation Snapshot</h3>
26102607
when it doesn't generate boxes only applies to ''display: none'',
26112608
not ''display: contents''.
26122609
(<a href="https://github.com/w3c/csswg-drafts/issues/3779">Issue 3779</a>)
2610+
<li>Precisely defined the size of 'border-width' ''thin'', ''medium'', and ''thick''.
2611+
(<a href="https://github.com/w3c/csswg-drafts/issues/7254">Issue 7254</a>)
26132612
<li>Minor editorial improvements.
26142613
</ul>
26152614

0 commit comments

Comments
 (0)