Skip to content

Commit 1824f17

Browse files
committed
[css-inline-3] Add “fill line box” switch for inline boxes. #1974
1 parent 1d4c8f5 commit 1824f17

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

css-inline-3/Overview.bs

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,51 @@ Alignment Shift: 'baseline-shift' longhand</h4>
287287

288288
Issue: We would prefer to remove this, and are looking for feedback from SVG user agents as to whether it's necessary.
289289

290+
<h2 id="inline-box-dimensions">
291+
Drawing Inline Boxes</h2>
292+
293+
<h3 id="line-fill">
294+
Inline Box Heights: the 'something-or-other' property</h3>
295+
296+
<pre class="propdef">
297+
Name: something-or-other
298+
Value: normal | fill
299+
Initial: normal
300+
Applies to: <a>inline boxes</a>
301+
Inherited: no
302+
Percentages: n/a
303+
Computed value: as specified
304+
</pre>
305+
306+
This property specifies how the <a>logical height</a>
307+
of the <a>content area</a> of an <a>inline box</a>
308+
is measured
309+
and how it is aligned with its contents.
310+
(It has no effect on the size or position of the box’s contents.)
311+
Values have the following meanings:
312+
313+
<dl dfn-for="something-or-other" dfn-type=value>
314+
<dt><dfn>normal</dfn>
315+
<dd>
316+
The <a>content area</a> of the <a>inline box</a>
317+
is sized and position to fit its (possibly hypothetical) text
318+
as specified in <a href="https://www.w3.org/TR/CSS2/visudet.html#inline-non-replaced">CSS2&sect;10.6.1</a>.
319+
320+
<dt><dfn>fill</dfn>
321+
<dd>
322+
The <a>logical height</a> of the <a>content area</a>
323+
is calculated as the <a>stretch fit</a>
324+
into the line box.
325+
The box is then positioned such that its <a>margin edges</a>
326+
coincide with the line box’s edges.
327+
</dl>
328+
329+
Issue: We need a meaningful name for this property.
330+
331+
Issue: We might want to use this opportunity to more precisely define ''something-or-other/normal'',
332+
rename it to match,
333+
and possibly introduce any other values that may seem necessary.
334+
290335
<h2 id="initial-letter-styling">
291336
<!--<a name="Initial"></a>-->
292337
Initial Letters</h2>

0 commit comments

Comments
 (0)