Re: [whatwg] Checkboxes that control other checkboxes

2012-11-23 Thread Michael A. Puls II
On Wed, 21 Nov 2012 19:51:39 -0500, Ian Hickson i...@hixie.ch wrote: On Sun, 14 Aug 2011, Timo Beermann wrote: It should be able to implemet checkboxes, where by only activating/deactivating this single checkbox you can active/deactivate multiple other checkboxes. That is possible with

[whatwg] URL testing

2012-11-23 Thread Chris Weber
Hello, I've been trying to follow Anne's work with the URL spec, and working on using the W3C testharness.js for URL testing. I have some URL testing running, with still more work to do: http://www.lookout.net/test/url/ The test cases and harness are available at:

Re: [whatwg] canvas and high-density displays

2012-11-23 Thread Ian Hickson
On Mon, 24 Sep 2012, Glenn Maynard wrote: On Mon, Sep 24, 2012 at 6:40 PM, Ian Hickson i...@hixie.ch wrote: We could add an event that fires on ImageData (or even ArrayBuffer) that fires when the data is available. If we add it to ArrayBuffer it's something that could be used in other

Re: [whatwg] [canvas] inner shadows

2012-11-23 Thread Ian Hickson
On Fri, 21 Sep 2012, Tyler Larson wrote: On Sep 20, 2012, at 6:49 PM, Ian Hickson i...@hixie.ch wrote: Can't you do this using clip() easily enough? Maybe I'm missing something important here. Can you elaborate? Here is an example of what I am talking about. http://i.imgur.com/Sy4xM.png

Re: [whatwg] HTML5 video seeking

2012-11-23 Thread Ian Hickson
On Mon, 14 Nov 2011, Aaron Colwell wrote: I was looking at the seeking algorithm and had a question about step 10. # 10. Wait until the user agent has established whether or not the media # data for the new playback position is available, and, if it is, until # it has decoded enough data to

Re: [whatwg] [canvas] inner shadows

2012-11-23 Thread Rik Cabanier
On Fri, Nov 23, 2012 at 2:36 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 21 Sep 2012, Tyler Larson wrote: On Sep 20, 2012, at 6:49 PM, Ian Hickson i...@hixie.ch wrote: Can't you do this using clip() easily enough? Maybe I'm missing something important here. Can you elaborate? Here

Re: [whatwg] [canvas] inner shadows

2012-11-23 Thread Dirk Schulze
On Nov 23, 2012, at 2:36 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 21 Sep 2012, Tyler Larson wrote: On Sep 20, 2012, at 6:49 PM, Ian Hickson i...@hixie.ch wrote: Can't you do this using clip() easily enough? Maybe I'm missing something important here. Can you elaborate? Here is an

Re: [whatwg] [canvas] inner shadows

2012-11-23 Thread Ian Hickson
On Fri, 23 Nov 2012, Ian Hickson wrote: On Fri, 21 Sep 2012, Tyler Larson wrote: On Sep 20, 2012, at 6:49 PM, Ian Hickson i...@hixie.ch wrote: Can't you do this using clip() easily enough? Maybe I'm missing something important here. Can you elaborate? Here is an example of what I am

[whatwg] Enabling LCD Text and antialiasing in canvas

2012-11-23 Thread Ian Hickson
On Thu, 29 Mar 2012, Jeremy Apthorp wrote: On Thu, Mar 29, 2012 at 10:25 AM, Jeremy Apthorp jere...@chromium.orgwrote: On Thu, Mar 29, 2012 at 8:41 AM, Ian Hickson i...@hixie.ch wrote: On Fri, 13 Jan 2012, Jeremy Apthorp wrote: I'd like to draw non-antialiased lines in a canvas.

Re: [whatwg] [canvas] inner shadows

2012-11-23 Thread Glenn Maynard
On Fri, Sep 21, 2012 at 7:49 PM, Rik Cabanier caban...@gmail.com wrote: With both types of shadow, you take the shape of the element and calculate the blur image. With an outer shadow, you take the result of the blur and composite it. After this, you composite the original shape. With an

Re: [whatwg] [canvas] inner shadows

2012-11-23 Thread Rik Cabanier
On Fri, Nov 23, 2012 at 3:47 PM, Glenn Maynard gl...@zewt.org wrote: On Fri, Sep 21, 2012 at 7:49 PM, Rik Cabanier caban...@gmail.com wrote: With both types of shadow, you take the shape of the element and calculate the blur image. With an outer shadow, you take the result of the blur and

Re: [whatwg] [canvas] inner shadows

2012-11-23 Thread Ian Hickson
On Fri, 23 Nov 2012, Rik Cabanier wrote: It would still be quite complex to draw an inner shadow this way because the blur is calculated on the inverse of the shape. A user will need to draw to another canvas and then 'clear' it to get the inverse. Turns out it's much easier than that; see

Re: [whatwg] [canvas] inner shadows

2012-11-23 Thread Rik Cabanier
On Fri, Nov 23, 2012 at 4:03 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 23 Nov 2012, Rik Cabanier wrote: It would still be quite complex to draw an inner shadow this way because the blur is calculated on the inverse of the shape. A user will need to draw to another canvas and then

Re: [whatwg] [canvas] inner shadows

2012-11-23 Thread Ian Hickson
On Fri, 23 Nov 2012, Rik Cabanier wrote: On Fri, Nov 23, 2012 at 4:03 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 23 Nov 2012, Rik Cabanier wrote: It would still be quite complex to draw an inner shadow this way because the blur is calculated on the inverse of the shape. A user

Re: [whatwg] [canvas] inner shadows

2012-11-23 Thread Ian Hickson
On Fri, 23 Nov 2012, Rik Cabanier wrote: Turns out it's relatively easy to do today in canvas; after you've drawn your shape and filled it, just add the following code: c.save(); c.clip(); c.moveTo(0,0); c.lineTo(0,height); c.lineTo(width,height);

Re: [whatwg] [canvas] inner shadows

2012-11-23 Thread Rik Cabanier
On Fri, Nov 23, 2012 at 8:58 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 23 Nov 2012, Rik Cabanier wrote: Turns out it's relatively easy to do today in canvas; after you've drawn your shape and filled it, just add the following code: c.save(); c.clip(); c.moveTo(0,0);

Re: [whatwg] [canvas] inner shadows

2012-11-23 Thread Rik Cabanier
On Fri, Nov 23, 2012 at 3:57 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 23 Nov 2012, Ian Hickson wrote: On Fri, 21 Sep 2012, Tyler Larson wrote: On Sep 20, 2012, at 6:49 PM, Ian Hickson i...@hixie.ch wrote: Can't you do this using clip() easily enough? Maybe I'm missing something

Re: [whatwg] [canvas] inner shadows

2012-11-23 Thread Ian Hickson
On Fri, 23 Nov 2012, Rik Cabanier wrote: On Fri, Nov 23, 2012 at 8:58 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 23 Nov 2012, Rik Cabanier wrote: Turns out it's relatively easy to do today in canvas; after you've drawn your shape and filled it, just add the following code:

Re: [whatwg] URL testing

2012-11-23 Thread Michael[tm] Smith
Chris Weber ch...@lookout.net, 2012-11-23 11:39 -0800: Hello, I've been trying to follow Anne's work with the URL spec, and working on using the W3C testharness.js for URL testing. I have some URL testing running, with still more work to do: http://www.lookout.net/test/url/ A lot of these