Skip to content

Commit 0a8f5e3

Browse files
committed
[css-inline-3] Drop reference to CSS2.1 now that its text has been incorporated. Clean up related wording.
1 parent cddc420 commit 0a8f5e3

1 file changed

Lines changed: 8 additions & 11 deletions

File tree

css-inline-3/Overview.bs

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -954,33 +954,30 @@ Inline Box Heights: the 'inline-sizing' property</h3>
954954

955955
This property specifies how the <a>logical height</a>
956956
of the <a>content area</a> of an <a>inline box</a>
957-
is measured
958-
and how it is aligned with its contents.
959-
(It has no effect on the size or position of the box’s contents.)
957+
is measured in relation to its contents.
958+
It has no effect on the size or position of the box’s contents,
959+
the line box, or any other content.
960960
Values have the following meanings:
961961

962962
<dl dfn-for="inline-sizing" dfn-type=value>
963963
<dt><dfn>normal</dfn>
964964
<dd>
965965
The <a>content area</a> of the <a>inline box</a>
966-
is sized and position to fit its (possibly hypothetical) text
967-
as specified in <a href="https://www.w3.org/TR/CSS2/visudet.html#inline-non-replaced">CSS2&sect;10.6.1</a>.
966+
is sized and position to fit its (possibly hypothetical) text,
967+
see below.
968968

969969
<dt><dfn>stretch</dfn>
970970
<dd>
971-
Once the line box has been sized,
971+
Once the line box has been sized and its contents positioned
972+
as for ''inline-sizing/normal'',
972973
the final <a>logical height</a> of the <a>inline box</a>’s <a>content area</a>
973974
is calculated as the <a>stretch fit</a>
974975
into the line box,
975976
and it is positioned such that its <a>margin edges</a>
976977
coincide with the line box’s edges.
977978
</dl>
978979

979-
Issue: We might want to use this opportunity to more precisely define ''inline-sizing/normal'',
980-
rename it to match,
981-
and possibly introduce any other values that may seem necessary.
982-
983-
The 'height' property does not apply.
980+
The 'height' property does not apply to [=inline boxes=].
984981
The height of the content area should be based on the font,
985982
but this specification does not specify how.
986983
A UA may, e.g., use the the maximum ascender and descender of the font.

0 commit comments

Comments
 (0)