W3C home > Mailing lists > Public > public-html@w3.org > March 2012

[Bug 16524] New: Hi Ian, I've some comments about the recent added line dashes. Right now, the mozilla and webkit implements this as an attribute, but in this version, it uses setLineDash() and getLineDash(). These setter/getter are not consistent with the other line styl

From: <bugzilla@jessica.w3.org>
Date: Mon, 26 Mar 2012 14:29:44 +0000
To: public-html@w3.org
Message-ID: <bug-16524-2495@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16524

           Summary: Hi Ian, I've some comments about the recent added line
                    dashes. Right now, the mozilla and webkit implements
                    this as an attribute, but in this version, it uses
                    setLineDash() and getLineDash(). These setter/getter
                    are not consistent with the other line styl
           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:
Hi Ian,

I've some comments about the recent added line dashes. Right now, the mozilla
and webkit implements this as an attribute, but in this version, it uses
setLineDash() and getLineDash(). These setter/getter are not consistent with
the other line styles, such as lineWidth. (There's no such functions called
setLineWidth() and getLineWidth()). What's the reason behind this API design?

Thanks!
guanqun.lu@intel.com

Posted from: 134.134.139.76
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101
Firefox/11.0

-- 
Configure bugmail: https://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 Monday, 26 March 2012 17:42:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:47 GMT