Re: [whatwg] URL testing

2012-11-24 Thread Anne van Kesteren
On Fri, Nov 23, 2012 at 8:39 PM, Chris Weber ch...@lookout.net wrote: If this is of use to you I'm happy to hear your suggestions and make adjustments to the test cases, format, or approach. I do have plans to narrate each test case with a descriptive comment, reduce duplication, and add more

Re: [whatwg] URL testing

2012-11-24 Thread Michael[tm] Smith
Michael[tm] Smith m...@w3.org, 2012-11-24 15:11 +0900: 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

Re: [whatwg] [canvas] inner shadows

2012-11-24 Thread Glenn Maynard
On Fri, Nov 23, 2012 at 11:11 PM, Rik Cabanier caban...@gmail.com wrote: What matters is the shape that is used to calculate the blur (step 1) In your example, that shape is a rectangle so just the rectangle edges will be blurred. That slightly blurred rectangle is then composited with the

Re: [whatwg] [canvas] inner shadows

2012-11-24 Thread Rik Cabanier
On Sat, Nov 24, 2012 at 7:59 AM, Glenn Maynard gl...@zewt.org wrote: On Fri, Nov 23, 2012 at 11:11 PM, Rik Cabanier caban...@gmail.com wrote: What matters is the shape that is used to calculate the blur (step 1) In your example, that shape is a rectangle so just the rectangle edges will be

Re: [whatwg] [canvas] inner shadows

2012-11-24 Thread Rik Cabanier
On Sat, Nov 24, 2012 at 8:36 AM, Ian Hickson i...@hixie.ch wrote: On Sat, 24 Nov 2012, Rik Cabanier wrote: How about the strokes? The example in the OP didn't have them, but you'd have to include them in the fill area. With the new Path objects, you'd just use

Re: [whatwg] [canvas] inner shadows

2012-11-24 Thread Rik Cabanier
On Fri, Nov 23, 2012 at 10:30 PM, Ian Hickson i...@hixie.ch wrote: 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

Re: [whatwg] [canvas] inner shadows

2012-11-24 Thread Ian Hickson
On Sat, 24 Nov 2012, Rik Cabanier wrote: How about the strokes? The example in the OP didn't have them, but you'd have to include them in the fill area. With the new Path objects, you'd just use addPathByStrokingPath(), which would be relatively simple. Unfortunately the winding

[whatwg] Feature Request: Media Elements as Targets for Links

2012-11-24 Thread Nils Dagsson Moskopp
Excuse me if I am doing something wrong by submitting this by mail. I am doing this for the first time, trying to fill in the template given at http://wiki.whatwg.org/wiki/Problem_Solving as good as I could. Use Case Description: Linking to specific fragments of media is possible via media

Re: [whatwg] URL testing

2012-11-24 Thread Chris Weber
On 11/23/2012 10:11 PM, Michael[tm] Smith wrote: I wonder if it might make more sense for the URLs being tested for all those cases to include a / for the pathname. That way they would be further isolated to just testing what they're actually intended to test, rather that what they're instead

Re: [whatwg] URL testing

2012-11-24 Thread Chris Weber
On 11/24/2012 1:34 AM, Anne van Kesteren wrote: This is super awesome. Glad you continued with this. I have a few generic points for now: * No special handling for IPv4. IPv4 should work the same as domain names. I.e. the host of http://192/ is 192, not 0.0.0.192. * It's still a bit unclear

Re: [whatwg] Enabling LCD Text and antialiasing in canvas

2012-11-24 Thread Adam Barth
On Fri, Nov 23, 2012 at 3:04 PM, Ian Hickson i...@hixie.ch wrote: On Mon, 12 Nov 2012, Justin Novosad wrote: For many types of apps, DOM-based rendering is uncompetitively slow [so we should make text rendering in canvas more controllable] This seems like something we should fix, not

Re: [whatwg] URL testing

2012-11-24 Thread Boris Zbarsky
On 11/24/12 5:49 PM, Chris Weber wrote: There also appears to be some differences in Unicode normalization (assuming I tested this enough), see: http://web.lookout.net/2012/03/unicode-normalization-in-urls.html A question. What OS or OSes did you test on? Unicode normalization differs in

Re: [whatwg] [canvas] inner shadows

2012-11-24 Thread Rik Cabanier
On Sat, Nov 24, 2012 at 8:21 AM, Rik Cabanier caban...@gmail.com wrote: On Sat, Nov 24, 2012 at 7:59 AM, Glenn Maynard gl...@zewt.org wrote: On Fri, Nov 23, 2012 at 11:11 PM, Rik Cabanier caban...@gmail.comwrote: What matters is the shape that is used to calculate the blur (step 1) In your