Re: Versioning and html[5]

Chris Wilson wrote:
> Lachlan Hunt wrote:
>>> Then again, I would love if Microsoft could change the default
>>> type for a <button> to submit instead of button.
>> They can!  That's not likely to significantly break the web, it's
>> likely to fix a few pages.
> 
> You just made me laugh out loud.  I'm sorry, I don't mean to be 
> derisive.  That's just not our experience in shipping a web browser 
> to half a billion users.

When I wrote that, I was thinking more about <button type="unknown"> 
than <button> without a type attribute.  At least I'm willing to admit 
that I was wrong when presented with evidence that proves otherwise.

Are you willing to admit you're wrong given that plenty of evidence has 
already been presented against you for other issues in this thread?

FWIW, we've discussed a few possibilities to resolve this particular 
issue today.  One idea is to make <button> default to type=button, but 
<button type=unknown> default to submit.  That should minimise the 
possibility of breaking a significant portion of the web and make it 
much easier to add more button types in the future.  (We have a small 
graceful-degradation problem with introducing type=add, etc. in WF2 
today because IE doesn't default to submit, but there are workarounds)

-- 
Lachlan Hunt
http://lachy.id.au/

Received on Saturday, 14 April 2007 03:21:20 UTC