Re: [whatwg] A plea to Hixie to adopt main

2012-11-15 Thread Steve Faulkner
Hi Tim, Are you saying we should not introduce a main element... I don't believe I ever said anything about not introducing a mainelement. I'm very much on the fence about it. I've been trying to carefully balance the pros and cons to avoid a biased judgement. Here are some of what I've

Re: [whatwg] A plea to Hixie to adopt main

2012-11-15 Thread Ian Yang
On Thu, Nov 15, 2012 at 12:59 PM, Tim Leverett ...@gmail.com wrote: Personally, I'd rather see main be more about marking up content in general, such as in this example which is invalid given the current state of the spec: article id=1 header / main / footer / /article article

Re: [whatwg] A plea to Hixie to adopt main

2012-11-15 Thread Ian Yang
On Thu, Nov 15, 2012 at 7:27 PM, Ian Yang i...@invigoreight.com wrote: On Thu, Nov 15, 2012 at 12:59 PM, Tim Leverett ...@gmail.com wrote: Personally, I'd rather see main be more about marking up content in general, such as in this example which is invalid given the current state of the

Re: [whatwg] URL: IPv6 parsing and model/serializing

2012-11-15 Thread Anne van Kesteren
On Wed, Nov 14, 2012 at 11:05 AM, Boris Zbarsky bzbar...@mit.edu wrote: I believe Gecko simply stores the original string (lowercased), modulo IDN stuff. Since this works for both DNS names and IP addresses, a requirement that some other representation be stored is actually a bit of an

Re: [whatwg] Enabling LCD Text in 2D canvases.

2012-11-15 Thread Justin Novosad
On Wed, Nov 14, 2012 at 8:07 PM, Fred Andrews freda...@live.com wrote: The canvas that scripts draw into could be over-sized with the UA down sampling this to fit the target size and taking into account the sub-pixel screen layout when doing so. Obviously, that would be costly (x3 pixels),

Re: [whatwg] A plea to Hixie to adopt main

2012-11-15 Thread Tim Leverett
Con: Adding a main element adds redundancy to the [role=main] attribute. I don't see why this is a con, if main is mapped to role=main in the browser it means that authors won't have to. Also adding aside/article/footer etc adds redundancy to the matching ARIA roles. Redundancy tends to be a

Re: [whatwg] URL: IPv6 parsing and model/serializing

2012-11-15 Thread Boris Zbarsky
On 11/15/12 5:45 AM, Anne van Kesteren wrote: Well and it is validated. You definitely parse the string Yes, absolutely. but I can see how that is cheaper than transforming the string. And that string is then passed to the DNS layer? I don't know offhand. I'd have to go dig... We could

Re: [whatwg] A plea to Hixie to adopt main

2012-11-15 Thread Steve Faulkner
Con: Adding a main element adds redundancy to the [role=main] attribute. I don't see why this is a con, if main is mapped to role=main in the browser it means that authors won't have to. Also adding aside/article/footer etc adds redundancy to the matching ARIA roles. Redundancy tends to be a

[whatwg] Proposal: implement a usescookies tag.

2012-11-15 Thread whatwg-owner
To post feedback to the WHATWG list, please subscribe first (and post from the same e-mail address as you subscribed from). We require this because of the level of spam the list would otherwise receive. If you just want to submit drive-by feedback and aren't concerned about receiving a reply, you

Re: [whatwg] A plea to Hixie to adopt main

2012-11-15 Thread Silvia Pfeiffer
On Fri, Nov 16, 2012 at 1:45 AM, Tim Leverett ...@gmail.com wrote: Con: Adding a main element adds redundancy to the [role=main] attribute. I don't see why this is a con, if main is mapped to role=main in the browser it means that authors won't have to. Also adding aside/article/footer

Re: [whatwg] 'datetime-local' and 'datetime' comments

2012-11-15 Thread TAMURA, Kent
I think I can do it for WebKit if WHATWG specification and W3C specification are changed so. On Thu, Nov 15, 2012 at 2:23 AM, Mounir Lamouri mou...@lamouri.fr wrote: On 13/11/12 09:42, TAMURA, Kent wrote: The current UI implementations of Opera, iOS, and Chrome-Android spoil the HTML

Re: [whatwg] Proposal for a debugging information API

2012-11-15 Thread David Barrett-Kahn
Thanks Tobie, that does sound related, but not quite the same use case. That proposal seems to want to make the creation of memory/network/runtime performance profiles scriptable if the user allows it. Presumably you wouldn't do that routinely, which raises the question of when you would do it.

Re: [whatwg] A plea to Hixie to adopt main

2012-11-15 Thread Eitan Adler
On 15 November 2012 19:20, Silvia Pfeiffer silviapfeiff...@gmail.com wrote: On Fri, Nov 16, 2012 at 1:45 AM, Tim Leverett ...@gmail.com wrote: Con: Adding a main element adds redundancy to the [role=main] attribute. I don't see why this is a con, if main is mapped to role=main in the

Re: [whatwg] A plea to Hixie to adopt main

2012-11-15 Thread Hugh Guiney
On Thu, Nov 15, 2012 at 8:21 PM, Eitan Adler li...@eitanadler.com wrote: Actually, there's a good point: I would actually add this: if main or an element with @role=main exist on the page, there is no need to run the Scooby-Doo algorithm and that element can just be chosen as the main

Re: [whatwg] A plea to Hixie to adopt main

2012-11-15 Thread Silvia Pfeiffer
On Fri, Nov 16, 2012 at 12:21 PM, Eitan Adler li...@eitanadler.com wrote: On 15 November 2012 19:20, Silvia Pfeiffer silviapfeiff...@gmail.com wrote: On Fri, Nov 16, 2012 at 1:45 AM, Tim Leverett ...@gmail.com wrote: Con: Adding a main element adds redundancy to the [role=main]

Re: [whatwg] A plea to Hixie to adopt main

2012-11-15 Thread Tim Leverett
What if both exist but are different elements? Favor the first or most ancestral occurrence. I concur. ☺ On Thu, Nov 15, 2012 at 8:48 PM, Hugh Guiney hugh.gui...@gmail.com wrote: On Thu, Nov 15, 2012 at 8:21 PM, Eitan Adler li...@eitanadler.com wrote: Actually, there's a good point: I

[whatwg] Document.setCapture/releaseCapture

2012-11-15 Thread Boris Zbarsky
Are setCapture/releaseCapture specified on document anywhere? The last thing I see about it is http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2008-November/017415.html and then nothing... Note that I suspect we do need a releaseCapture() so pages can call it without throwing, even if