Re: [whatwg] Icon mask and theme color

2015-06-16 Thread Jasper St. Pierre
On Tue, Jun 16, 2015 at 4:37 AM, Nils Dagsson Moskopp wrote: [...] > (5) Use the shape of the path in the SVG icon as a mask and retain the > theme color meta value. Why isn't this done? One could have a properly > colored icon for one purpose and use the outline of the same icon for > the flat

Re: [whatwg] CSS on canvas?

2014-09-20 Thread Jasper St. Pierre
Rendering DOM elements to a 2d canvas would indeed be a nice feature, but I don't see how it would help with multiline layout. What are you trying to accomplish? On 20 Sep 2014 20:10, "L2L 2L" wrote: > > Is this true: > > A future version of the 2D context API may provide a way to render > fragme

Re: [whatwg] Proposal: Wake Lock API

2014-07-15 Thread Jasper St. Pierre
Should the lock automatically be released if the user switches to a different tab or somehow makes the content unviewable? Should the web content know about this, or should it just silently think the lock is still being held? This might affect the timeout situation. It would be strange to be unable

Re: [whatwg] HTTP status code from JavaScript

2014-05-25 Thread Jasper St. Pierre
On Sun, May 25, 2014 at 7:48 AM, Michael Heuberger < michael.heuber...@binarykitchen.com> wrote: > Hi Tobie > > >> * It is a redundancy. The browser already knows the status code, just > >> not JavaScript. > > That argument can equally well be used the other way round: it's a > > redundancy to exp

Re: [whatwg] Notifications: usage feedback

2013-10-29 Thread Jasper St. Pierre
On Tue, Oct 29, 2013 at 11:26 AM, Anne van Kesteren wrote: > On Fri, Sep 27, 2013 at 2:15 AM, James Burke wrote: > > 2) General notification callback entry point > > > > We are avoiding use of notification.onclick/onclose and would prefer > > to have a generic entry point to receive notification

Re: [whatwg] Not covered by traditional media

2013-10-10 Thread Jasper St. Pierre
On Thu, Oct 10, 2013 at 6:01 PM, Michael Norton wrote: > Would you please send a quick reply to me with your opinion on these 2 > statements: > > Hypertext is energy. (true or false) > False. > Particle/wave duality needs special attention with regard to hypertext. > (True or false) > False

Re: [whatwg] Stroking algorithm in Canvas 2d

2013-10-10 Thread Jasper St. Pierre
On Thu, Oct 10, 2013 at 6:57 PM, Rik Cabanier wrote: > On Thu, Oct 10, 2013 at 3:36 PM, Ian Hickson wrote: > >> On Thu, 10 Oct 2013, Justin Novosad wrote: >> > On Thu, Oct 10, 2013 at 5:48 PM, Ian Hickson wrote: >> > > On Thu, 10 Oct 2013, Rik Cabanier wrote: >> > > > >> > > > setLineDash([30])

Re: [whatwg] Web development

2013-10-10 Thread Jasper St. Pierre
On Thu, Oct 10, 2013 at 7:12 AM, Mark Roberts wrote: > > > From: gbs...@msn.com > To: wha...@whatwg.org > Subject: Web development > Date: Thu, 10 Oct 2013 12:04:28 +0100 > > Why is everything else around us developing so fast, but the web is so > slow to adopt anything? It takes years just to ad

Re: [whatwg] Stroking algorithm in Canvas 2d

2013-10-10 Thread Jasper St. Pierre
On Thu, Oct 10, 2013 at 2:19 AM, Ian Hickson wrote: > On Wed, 9 Oct 2013, Rik Cabanier wrote: > > > > > > > > Yep, this is where assumptions went wrong. Dashes are calculated per > > > > subpath, not per 'line'/whole path. > > > > > > On what basis are you asserting this? > > > > see this fiddle:

Re: [whatwg] Blurry lines in 2D Canvas

2013-09-27 Thread Jasper St. Pierre
The issue here is that the canvas API does not specify how pixels are sited on the canvas: if you imagine pixels as enlarged squares on a grid (shush, I know), does an X coordinate of 5 name the center of the square, or the intersection between 4th and 5th squares? If we say that it names the cent

Re: [whatwg] Clipping text in in canvas

2013-09-16 Thread Jasper St. Pierre
at 1:40 PM, Ian Hickson wrote: > On Sun, 15 Sep 2013, Jasper St. Pierre wrote: > > > > The canvas specification maintains: > > > > These shapes are painted without affecting the current path, and are > > subject to shadow effects, global alpha, the clipping regio

Re: [whatwg] Clipping text in in canvas

2013-09-15 Thread Jasper St. Pierre
whatwg-boun...@lists.whatwg.org > [mailto:whatwg-boun...@lists.whatwg.org] On Behalf Of Jasper St. Pierre > Sent: Sunday, September 15, 2013 11:38 AM > To: wha...@whatwg.org > Subject: [whatwg] Clipping text in in canvas > > The canvas specification maintains: > > These shapes

[whatwg] Clipping text in in canvas

2013-09-15 Thread Jasper St. Pierre
The canvas specification maintains: These shapes are painted without affecting the current path, and are subject to shadow effects, global alpha, the clipping region, and global composition operators. [0] But no browsers I tested actually implement the "clipping region" part. Should this be r