Re: [whatwg] input type=location proposals

2010-06-20 Thread Michelangelo De Simone
2010/6/18 Eitan Adler li...@eitanadler.com: These are two separate proposals and I both could co-exist one as type=location and the other as type=gps Even though this sounds pretty nice to me, something critical should be figured out before going deeper. Precisely: 1. Maps are heavy to get,

Re: [whatwg] Form validation against invisible controls

2010-06-14 Thread Michelangelo De Simone
Il giorno 14/giu/2010, alle ore 12.40, Ian Hickson ha scritto: Incorrect use of required in HTML4-era documents also seems to be the common problem Chrome ran into -- at the risk of starting a bikeshed discussion, does anyone have any good suggestions for alternative names? I believe

Re: [whatwg] validationMessage

2009-11-20 Thread Michelangelo De Simone
2009/11/20 Scott González scott.gonza...@gmail.com: following that same logic wouldn't you come to the conclusion that date inputs should not display calendars because they need to be localized? You're speaking about a very different scenario, use cases and data types. Let's focus our

Re: [whatwg] validationMessage

2009-11-19 Thread Michelangelo De Simone
custom messages. On Tue, Nov 10, 2009 at 4:23 PM, Michelangelo De Simone micde...@gmail.com wrote: Hi, I've been dealing with the validationMessage implementation in WebKit. As some of WebKit member pointed out it's quite unusual for an attribute to return a suitably *localized message

[whatwg] validationMessage

2009-11-10 Thread Michelangelo De Simone
Hi, I've been dealing with the validationMessage implementation in WebKit. As some of WebKit member pointed out it's quite unusual for an attribute to return a suitably *localized message* that the user agent would show the user. Couldn't such behavior be potentially heterogeneous among UAs

Re: [whatwg] HTML 5 buttons and constraint validation

2009-09-07 Thread Michelangelo De Simone
Il giorno 07/set/2009, alle ore 06.56, Alex Vincent ha scritto: There's a possible disconnect between input type=button/ and button/. The former is barred from constraint validation, but the latter is not. (Section 4.10). Is this intentional? I guess it's a mistake; actual implementation

Re: [whatwg] formNoValidate/novalidate/willValidate

2009-08-26 Thread Michelangelo De Simone
2009/8/26 Dean Edwards dean.edwa...@gmail.com: novalidate sticks out like a sore thumb. Can we change it to noValidate. It's only mentioned in the IDL so maybe it's a typo. I agree, it seems a typo. I'm gonna prepare a patch for WebKit to correct that in case specs are modified. -- Bye,

Re: [whatwg] Text areas with pattern attributes?

2009-08-24 Thread Michelangelo De Simone
2009/8/24 Peter Kasting pkast...@google.com: I think pattern is significantly less valuable than maxlength, but it wouldn't be too difficult to add support for it.  I vote weakly against. More than that I'm a little concerned about potential performance drawbacks: having a pattern to be

Re: [whatwg] Comments on the definition of a valid e-mail address

2009-08-24 Thread Michelangelo De Simone
2009/8/24 Peter Kasting pkast...@google.com: I am mentoring a student who is writing a patch for this in WebKit as we speak -- we were just discussing the implementation yesterday and I believe he hopes to have it out for review tomorrow. The mentored student has published the patch and is

Re: [whatwg] Text areas with pattern attributes?

2009-08-19 Thread Michelangelo De Simone
2009/8/19 Jonas Sicking jo...@sicking.cc: So for the pattern attribute, a use case would be on a site that accepts US addresses (for example a store that only ships within the US), the site could use a textarea together with a pattern that matches US addresses. That would be a most unusual

[whatwg] HTML5 requiredAttr pseudoclasses?

2009-01-29 Thread Michelangelo De Simone
Hi, sorry for the dumb question, but what happened to :required and :optional pseudoclasses in HTML5 spec? I cant' find them out since WF2 has been declared as obsolete. Thank you. -- Bill Cosby - A word to the wise ain't necessary - it's the stupid ones that need the advice.