Skip to content

Commit 76f2c1f

Browse files
ewilligersfrivoal
authored andcommitted
[css-inline] line-height cannot have two values (#4183)
line-height must be normal or a number or a length-percentage. It cannot be a number followed by a length-percentage. This brings the definition of line-height into consistency with CSS 2. https://www.w3.org/TR/CSS2/visudet.html#propdef-line-height
1 parent e7131be commit 76f2c1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css-inline-3/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ Line Spacing: the 'line-height' property</h3>
537537

538538
<pre class="propdef">
539539
Name: line-height
540-
Value: normal | <<number>> || <<length-percentage>>
540+
Value: normal | <<number>> | <<length-percentage>>
541541
Initial: normal
542542
Applies to: inline boxes
543543
Inherited: yes

0 commit comments

Comments
 (0)