Skip to content

Commit 0f7ad2a

Browse files
committed
[CSS22] Change to baseline of 'inline-block' in the presence of 'overflow' (see changes#s.10.8.1)
1 parent de9746d commit 0f7ad2a

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

css2/visudet.src

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1523,10 +1523,15 @@ of the tops of the boxes in the subtree, and the bottom is analogous.
15231523
<p>The baseline of an 'inline-table' is the baseline of the first row
15241524
of the table.
15251525
</p>
1526-
<p>The baseline of an 'inline-block' is the baseline of its last line
1527-
box in the normal flow, unless it has either no in-flow line boxes or
1528-
if its 'overflow' property has a computed value other than 'visible',
1529-
in which case the baseline is the bottom margin edge.</p>
1526+
<p>The baseline of an 'inline-block’ whose ‘overflow’ property has a
1527+
computed value of ‘visible’ is the baseline of its last line box in
1528+
the normal flow, unless it has no in-flow line boxes, in which case
1529+
the baseline is the bottom margin edge. The baseline of an
1530+
inline-block whose ‘overflow’ property has a computed value not equal
1531+
to ‘visible’ is the higher of either its bottom margin edge or the
1532+
baseline of its last line box in the normal flow, unless it has no
1533+
in-flow line boxes, in which case its baseline is the baseline is the
1534+
bottom margin edge.</p>
15301535
</body>
15311536
</html>
15321537

0 commit comments

Comments
 (0)