[html5] r8486 - [giow] (1) Clarify TextMetrics.emHeightAscent and emHeightDescent in the multifo [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Feb 20 14:41:58 PST 2014


Author: ianh
Date: 2014-02-20 14:41:57 -0800 (Thu, 20 Feb 2014)
New Revision: 8486

Modified:
   complete.html
   index
   source
Log:
[giow] (1) Clarify TextMetrics.emHeightAscent and emHeightDescent in the multifont case.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=24723
Affected topics: Canvas

Modified: complete.html
===================================================================
--- complete.html	2014-02-20 22:39:00 UTC (rev 8485)
+++ complete.html	2014-02-20 22:41:57 UTC (rev 8486)
@@ -57725,18 +57725,20 @@
 
    <dt><dfn id=dom-textmetrics-emheightascent title=dom-textmetrics-emHeightAscent><code>emHeightAscent</code></dfn> attribute</dt>
 
-   <dd><p>The distance from the horizontal line indicated by the <code title=dom-context-2d-textBaseline><a href=#dom-context-2d-textbaseline>textBaseline</a></code> attribute to the top of the em square in
+<!--CLEANUP-->
+   <dd><p>The distance from the horizontal line indicated by the <code title=dom-context-2d-textBaseline><a href=#dom-context-2d-textbaseline>textBaseline</a></code> attribute to the highest top of the em squares in
    the line box, in CSS pixels; positive numbers indicating that the given baseline is below the top
-   of the em square (so this value will usually be positive). Zero if the given baseline is the top
-   of the em square; half the font size if the given baseline is the middle of the em
+   of that em square (so this value will usually be positive). Zero if the given baseline is the top
+   of that em square; half the font size if the given baseline is the middle of that em
    square.</dd>
 
    <dt><dfn id=dom-textmetrics-emheightdescent title=dom-textmetrics-emHeightDescent><code>emHeightDescent</code></dfn> attribute</dt>
 
-   <dd><p>The distance from the horizontal line indicated by the <code title=dom-context-2d-textBaseline><a href=#dom-context-2d-textbaseline>textBaseline</a></code> attribute to the bottom of the em square
+<!--CLEANUP-->
+   <dd><p>The distance from the horizontal line indicated by the <code title=dom-context-2d-textBaseline><a href=#dom-context-2d-textbaseline>textBaseline</a></code> attribute to the lowest bottom of the em squares
    in the line box, in CSS pixels; positive numbers indicating that the given baseline is below the
-   bottom of the em square (so this value will usually be negative). (Zero if the given baseline is
-   the top of the em square.)</dd>
+   bottom of that em square (so this value will usually be negative). (Zero if the given baseline is
+   the top of that em square.)</dd>
 
    <dt><dfn id=dom-textmetrics-hangingbaseline title=dom-textmetrics-hangingBaseline><code>hangingBaseline</code></dfn> attribute</dt>
 

Modified: index
===================================================================
--- index	2014-02-20 22:39:00 UTC (rev 8485)
+++ index	2014-02-20 22:41:57 UTC (rev 8486)
@@ -57725,18 +57725,20 @@
 
    <dt><dfn id=dom-textmetrics-emheightascent title=dom-textmetrics-emHeightAscent><code>emHeightAscent</code></dfn> attribute</dt>
 
-   <dd><p>The distance from the horizontal line indicated by the <code title=dom-context-2d-textBaseline><a href=#dom-context-2d-textbaseline>textBaseline</a></code> attribute to the top of the em square in
+<!--CLEANUP-->
+   <dd><p>The distance from the horizontal line indicated by the <code title=dom-context-2d-textBaseline><a href=#dom-context-2d-textbaseline>textBaseline</a></code> attribute to the highest top of the em squares in
    the line box, in CSS pixels; positive numbers indicating that the given baseline is below the top
-   of the em square (so this value will usually be positive). Zero if the given baseline is the top
-   of the em square; half the font size if the given baseline is the middle of the em
+   of that em square (so this value will usually be positive). Zero if the given baseline is the top
+   of that em square; half the font size if the given baseline is the middle of that em
    square.</dd>
 
    <dt><dfn id=dom-textmetrics-emheightdescent title=dom-textmetrics-emHeightDescent><code>emHeightDescent</code></dfn> attribute</dt>
 
-   <dd><p>The distance from the horizontal line indicated by the <code title=dom-context-2d-textBaseline><a href=#dom-context-2d-textbaseline>textBaseline</a></code> attribute to the bottom of the em square
+<!--CLEANUP-->
+   <dd><p>The distance from the horizontal line indicated by the <code title=dom-context-2d-textBaseline><a href=#dom-context-2d-textbaseline>textBaseline</a></code> attribute to the lowest bottom of the em squares
    in the line box, in CSS pixels; positive numbers indicating that the given baseline is below the
-   bottom of the em square (so this value will usually be negative). (Zero if the given baseline is
-   the top of the em square.)</dd>
+   bottom of that em square (so this value will usually be negative). (Zero if the given baseline is
+   the top of that em square.)</dd>
 
    <dt><dfn id=dom-textmetrics-hangingbaseline title=dom-textmetrics-hangingBaseline><code>hangingBaseline</code></dfn> attribute</dt>
 

Modified: source
===================================================================
--- source	2014-02-20 22:39:00 UTC (rev 8485)
+++ source	2014-02-20 22:41:57 UTC (rev 8486)
@@ -64159,20 +64159,22 @@
 
    <dt><dfn data-x="dom-textmetrics-emHeightAscent"><code>emHeightAscent</code></dfn> attribute</dt>
 
+<!--CLEANUP-->
    <dd><p>The distance from the horizontal line indicated by the <code
-   data-x="dom-context-2d-textBaseline">textBaseline</code> attribute to the top of the em square in
+   data-x="dom-context-2d-textBaseline">textBaseline</code> attribute to the highest top of the em squares in
    the line box, in CSS pixels; positive numbers indicating that the given baseline is below the top
-   of the em square (so this value will usually be positive). Zero if the given baseline is the top
-   of the em square; half the font size if the given baseline is the middle of the em
+   of that em square (so this value will usually be positive). Zero if the given baseline is the top
+   of that em square; half the font size if the given baseline is the middle of that em
    square.</p></dd>
 
    <dt><dfn data-x="dom-textmetrics-emHeightDescent"><code>emHeightDescent</code></dfn> attribute</dt>
 
+<!--CLEANUP-->
    <dd><p>The distance from the horizontal line indicated by the <code
-   data-x="dom-context-2d-textBaseline">textBaseline</code> attribute to the bottom of the em square
+   data-x="dom-context-2d-textBaseline">textBaseline</code> attribute to the lowest bottom of the em squares
    in the line box, in CSS pixels; positive numbers indicating that the given baseline is below the
-   bottom of the em square (so this value will usually be negative). (Zero if the given baseline is
-   the top of the em square.)</p></dd>
+   bottom of that em square (so this value will usually be negative). (Zero if the given baseline is
+   the top of that em square.)</p></dd>
 
    <dt><dfn data-x="dom-textmetrics-hangingBaseline"><code>hangingBaseline</code></dfn> attribute</dt>
 




More information about the Commit-Watchers mailing list