[webkit-dev] new APIs for strokes with dash in Canvas

Ian Hickson ian at hixie.ch
Tue Mar 27 20:54:30 PDT 2012


On Fri, 23 Sep 2011, Young Han Lee wrote:
>
> I spent some time trying to find it, but couldn't. This bugzilla seems 
> to be the only place we can get information at the moment.
> 
> https://bugzilla.mozilla.org/show_bug.cgi?id=662038

On Fri, 23 Sep 2011, Dirk Schulze wrote:
>
> The WebCore patch of Young is basically using the specified behavior of 
> stroke-dasharray and stroke-dashoffset in the SVG specification [1]. But 
> we wouldn't support units or percentages, just floating point numbers.

I've added something along these lines to the HTML specification. It's not 
quite the same API; see my e-mail to WHATWG (which I'll be sending in the 
next few days) for more discussion on the design decisions behind it.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


More information about the webkit-dev mailing list