Skip to content

Commit

Permalink
[css-inline] Add ideographic and middle baselines as requested by SVG.
Browse files Browse the repository at this point in the history
  • Loading branch information
fantasai committed Feb 3, 2016
1 parent 940f115 commit fd68a2e
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions css-inline/Overview.bs
Expand Up @@ -51,7 +51,7 @@ Dominant Baselines: the 'dominant-baseline' property</h3>

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

<dt><dfn>ideographic</dfn>
<dd>
Match the box's ideographic character face under-side baseline to that of its parent.

<dt><dfn>middle</dfn>
<dd>
Use the “middle” baseline: halfway between the alphabetic baseline and the ex-height.

<dt><dfn>central</dfn>
<dd>
Use the central baseline
Expand Down Expand Up @@ -129,7 +137,7 @@ Alignment Point: 'alignment-baseline' longhand</h4>

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

<dt><dfn>ideographic</dfn>
<dd>
Match the box's ideographic character face under-side baseline to that of its parent.

<dt><dfn>middle</dfn>
<dd>
Align the vertical midpoint of the box with
Expand Down

0 comments on commit fd68a2e

Please sign in to comment.