Re: [whatwg] [WebForms2] custom form validation notifications

2006-10-23 Thread Henri Sivonen
On Oct 9, 2006, at 01:32, Matthew Paul Thomas wrote: As UAs become more sophisticated, they can analyze the pattern attribute and present more context-sensitive error messages than any such attribute could. For example: * 410 is too much; this number must be 300 or less. * 178 is too

Re: [whatwg] getElementsByClassName()

2006-10-23 Thread James Graham
Dean Edwards wrote: The point is that there is room for all of these methods for retrieving DOM nodes. As there is no useful existing standard let's add stuff that people actually want instead of referring them to vapour ware. I guess the question is why bother with getElementByClassName if a

Re: [whatwg] Custom elements and attributes

2006-10-23 Thread Henri Sivonen
On Oct 18, 2006, at 01:27, Øistein E. Andersen wrote: I just tried to check out how custom element and attribute names work in current browsers and how they are supposed to work in HTML5, and some issues seem unclear to me. ... 4) Sivonen's HTML5 validator (http://hsivonen.iki.fi/validator/

Re: [whatwg] ol semantics (and dialogue)

2006-10-23 Thread Mikko Rantalainen
Henri Sivonen wrote: HTML+ used dl for dialog. As far as default presentation goes, dl is the best fit for marking up dialog. Yet, the semantic markup party line is against it. I think there are two reasons for insisting that dl shouldn't be used for dialogs, i.e. that dl really is a

Re: [whatwg] Table integrity and conformance

2006-10-23 Thread Henri Sivonen
On Aug 29, 2006, at 10:44, Henri Sivonen wrote: Should one expect HTML table row/column integrity to become an HTML5 conformance requirement? My plan is to spend November prototyping conformance checker parts that don't belong in the parser, don't belong in schemas (RELAX NG or

Re: [whatwg] getElementsByClassName()

2006-10-23 Thread Jonathan Worent
There seems to be a question on how confusing a method would be for developers. I went and asked 4 people I know that are just learning Javascript for the first time. For two of them javascript is their first programing language, the other two already know other languages. Given this markup: p

Re: [whatwg] Table integrity and conformance

2006-10-23 Thread Ian Hickson
On Mon, 23 Oct 2006, Henri Sivonen wrote: Should one expect HTML table row/column integrity to become an HTML5 conformance requirement? I'd appreciate some indication on what I should expect in this area, i.e. whether it makes sense to prototype a table integrity checker based on

Re: [whatwg] getElementsByClassName()

2006-10-23 Thread Dean Edwards
Ian Hickson wrote: On Mon, 23 Oct 2006, Jonathan Worent wrote: When asked if they would prefer a comma separated list or an array, there were mixed feelings. Three indicated a preference to a comma separated list, the other said he would expect to pass an array. Given this I would suggest not

Re: [whatwg] Canvas lack of drawString method

2006-10-23 Thread Stefan Haustein
Gervase Markham wrote: Stefan Haustein wrote: I think drawElement(elem) opens up a whole new can of worms: - how would an application determine the size of the text box? - where is the baseline position, needed for exact axis label positioning? - there are probably issues with dynamically

Re: [whatwg] getElementsByClassName()

2006-10-23 Thread Joao Eiras
Na , Ian Hickson [EMAIL PROTECTED] escreveu: On Mon, 23 Oct 2006, Dean Edwards wrote: Personally, I prefer a comma delimited list. Passing an array seems yukky. Really? I always thought the comma-separated argument to window.open() was one of the ugliest APIs ever... Are there any

Re: [whatwg] Canvas lack of drawString method

2006-10-23 Thread David Hyatt
I think a drawText method would be extremely useful. Rather than specifying stylistic information explicitly (via a font object), I'd use a special parenthetical pseudo-element. thus allowing the author to specify the style as for any other element on a page something like this...

Re: [whatwg] getElementsByClassName()

2006-10-23 Thread Joao Eiras
Na , Ian Hickson [EMAIL PROTECTED] escreveu: On Tue, 24 Oct 2006, Joao Eiras wrote: The question is.. is there really the need for the array ? Most bindings support variable arguments. The initial proposal used varargs, but people pointed out that that made it difficult to call the method

Re: [whatwg] getElementsByClassName()

2006-10-23 Thread Ian Hickson
On Tue, 24 Oct 2006, Joao Eiras wrote: Na , Ian Hickson [EMAIL PROTECTED] escreveu: On Tue, 24 Oct 2006, Joao Eiras wrote: The question is.. is there really the need for the array ? Most bindings support variable arguments. The initial proposal used varargs, but people pointed

Re: [whatwg] getElementsByClassName()

2006-10-23 Thread Dean Edwards
Ian Hickson wrote: On Mon, 23 Oct 2006, Dean Edwards wrote: Personally, I prefer a comma delimited list. Passing an array seems yukky. Really? I always thought the comma-separated argument to window.open() was one of the ugliest APIs ever... This isn't the same thing. We are faking

Re: [whatwg] getElementsByClassName()

2006-10-23 Thread Alexey Feldgendler
On Tue, 24 Oct 2006 06:17:20 +0700, Joao Eiras [EMAIL PROTECTED] wrote: It's an array. Most languages support arrays. Why would there be a problem? The question is.. is there really the need for the array ? Most bindings support variable arguments. Array: getElementsByClassName([c1, c2]);