Re: [whatwg] HTML 5 clarifications on ValidityState?

2009-08-31 Thread Ian Hickson
On Tue, 25 Aug 2009, Alex Vincent wrote: I read this paragraph (from section 4.10.15.3) as self-contradicting: The validationMessage attribute must return the empty string if the element is not a candidate for constraint validation or if it is one but it satisfies its constraints;

Re: [whatwg] HTML 5 clarifications on ValidityState?

2009-08-31 Thread Ian Hickson
On Tue, 25 Aug 2009, Peter Kasting wrote: [...] However, I'm not sure why elements which are barred from constraint validation (fieldset, output) have a setCustomValidity() method; perhaps so that authors could blindly iterate over all form-associated elements and call this method? Yes,

[whatwg] HTML 5 clarifications on ValidityState?

2009-08-25 Thread Alex Vincent
I read this paragraph (from section 4.10.15.3) as self-contradicting: The validationMessage attribute must return the empty string if the element is not a candidate for constraint validation or if it is one but it satisfies its constraints; otherwise, it must return a suitably localized message

Re: [whatwg] HTML 5 clarifications on ValidityState?

2009-08-25 Thread Peter Kasting
On Tue, Aug 25, 2009 at 12:50 AM, Alex Vincent ajvinc...@gmail.com wrote: The validationMessage attribute must return the empty string if the element is not a candidate for constraint validation or if it is one but it satisfies its constraints; otherwise, it must return a suitably localized