Skip to content

Commit fb330e9

Browse files
committed
[css-borders-4] Add 'hairline' keyword to <line-width>. w3c#3720
1 parent 643fe97 commit fb330e9

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

css-borders-4/Overview.bs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,12 +379,18 @@ Line Thickness: the 'border-width' properties</h3>
379379
i.e. the <dfn export id="border-width-dfn">border width</dfn>.
380380
Where
381381

382-
<pre class=prod><dfn><<line-width>></dfn> = <<length [0,∞]>> | thin | medium | thick</pre>
382+
<pre class=prod><dfn><<line-width>></dfn> = <<length [0,∞]>> | hairline | thin | medium | thick</pre>
383383

384384
<p dfn-type=value dfn-for="<line-width>, border-width, border-top-width, border-left-width, border-bottom-width, border-right-width, border">
385385
Negative values are invalid.
386386
The <dfn>thin</dfn>, <dfn>medium</dfn>, and <dfn>thick</dfn> keywords
387387
are equivalent to ''1px'', ''3px'', and ''5px'', respectively.
388+
The <dfn>hairline</dfn> keyword is a UA-defined length,
389+
less than or equal to ''1px''
390+
and equal to an integer number of device pixels at the default page zoom,
391+
which represents a "just visible" line.
392+
(While it can be as large as ''1px'',
393+
on many devices it will be approximately ''0.3px'' to ''0.5px''.)
388394

389395
The [=resolved value=] for the 'border-width' properties is the [=used value=].
390396

0 commit comments

Comments
 (0)