[Bug 16793] New: >http://dev.w3.org/html5/2dcontext/#dom-context-2d-measuretext >The TextMetrics interface is used for the objects returned from measureText(). > It has one attribute, width, which is set by the measureText() method I presume it was called width because i

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16793

           Summary: >http://dev.w3.org/html5/2dcontext/#dom-context-2d-mea
                    suretext >The TextMetrics interface is used for the
                    objects returned from measureText().  > It has one
                    attribute, width, which is set by the measureText()
                    method I presume it was called width because i
           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: HTML Canvas 2D Context (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/
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top

Comment:
>http://dev.w3.org/html5/2dcontext/#dom-context-2d-measuretext

>The TextMetrics interface is used for the objects returned from
measureText(). 
> It has one attribute, width, which is set by the measureText() method

I presume it was called width because its the width of a "box", but for
the case of text its probably not "width", its more likely "logical advance".

I suggest adding clarifying words that "the box width represents the logical
advance of the string".

Posted from: 148.87.19.198
User agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64;
Trident/5.0)

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 18 April 2012 22:09:08 UTC