This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 11472 - Add height property for TextMetrics
Summary: Add height property for TextMetrics
Status: RESOLVED DUPLICATE of bug 7798
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML Canvas 2D Context (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-04 23:13 UTC by contributor
Modified: 2011-08-04 05:03 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2010-12-04 23:13:37 UTC
Specification: http://dev.w3.org/html5/2dcontext/
Section: http://www.whatwg.org/specs/web-apps/current-work/#top

Comment:
At the moment I am writing a wordwrap to place text above some boxes and to
make them fit in there. I need text-height for that for not running above the
box on the vertical axis. There is no exposed API to do get that. I expected
TextMetrics to have a height property analog to width and was already
programming with that (without a recheck if this is really existent - foo!).

Could you please think about adding a height property to TextMetrics - thanks.

Posted from: 89.13.161.119
Comment 1 gossi 2010-12-04 23:24:29 UTC
Well, I submitted the issue from the Canvas 2D-Context WD-Page. So, some adjustment to clearify this.
Comment 2 Ian 'Hixie' Hickson 2011-01-11 00:37:10 UTC

*** This bug has been marked as a duplicate of bug 7798 ***
Comment 3 Michael[tm] Smith 2011-08-04 05:03:48 UTC
mass-move component to LC1