[Bug 11472] New: 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 he

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11472

           Summary: 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 he
           Product: HTML WG
           Version: unspecified
          Platform: Other
               URL: http://www.whatwg.org/specs/web-apps/current-work/#top
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: contributor@whatwg.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


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

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Saturday, 4 December 2010 23:13:39 UTC