Skip to content

Commit fd68a2e

Browse files
committed
[css-inline] Add ideographic and middle baselines as requested by SVG.
1 parent 940f115 commit fd68a2e

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

css-inline/Overview.bs

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Dominant Baselines: the 'dominant-baseline' property</h3>
5151

5252
<pre class="propdef">
5353
Name: dominant-baseline
54-
Value: auto | text-bottom | alphabetic | central | mathematical | hanging | text-top
54+
Value: auto | text-bottom | alphabetic | ideographic | middle | central | mathematical | hanging | text-top
5555
Initial: normal
5656
Applies to: block containers and inline boxes
5757
Inherited: yes
@@ -81,6 +81,14 @@ Dominant Baselines: the 'dominant-baseline' property</h3>
8181
<dd>
8282
Use the alphabetic baseline.
8383

84+
<dt><dfn>ideographic</dfn>
85+
<dd>
86+
Match the box's ideographic character face under-side baseline to that of its parent.
87+
88+
<dt><dfn>middle</dfn>
89+
<dd>
90+
Use the “middle” baseline: halfway between the alphabetic baseline and the ex-height.
91+
8492
<dt><dfn>central</dfn>
8593
<dd>
8694
Use the central baseline
@@ -129,7 +137,7 @@ Alignment Point: 'alignment-baseline' longhand</h4>
129137

130138
<pre class="propdef">
131139
Name: alignment-baseline
132-
Value: baseline | text-bottom | alphabetic | middle | central | mathematical | text-top | bottom | center | top
140+
Value: baseline | text-bottom | alphabetic | ideographic | middle | central | mathematical | text-top | bottom | center | top
133141
Initial: baseline
134142
Applies to: inline-level boxes
135143
Inherited: no
@@ -158,6 +166,10 @@ Alignment Point: 'alignment-baseline' longhand</h4>
158166
<dd>
159167
Match the box's alphabetic baseline to that of its parent.
160168

169+
<dt><dfn>ideographic</dfn>
170+
<dd>
171+
Match the box's ideographic character face under-side baseline to that of its parent.
172+
161173
<dt><dfn>middle</dfn>
162174
<dd>
163175
Align the vertical midpoint of the box with

0 commit comments

Comments
 (0)