Re: [WF2] new attributes that often conflict with actual pages

On Wed, 16 Jan 2008, Hallvord R. M. Steen wrote:
>
> I've seen these new attributes cause problems for real-life websites. I 
> think we shold discuss re-naming them to make conflicts with existing 
> content less likely:
> 
> INPUT action
>  - breaks web applications frequently. Both GMail and Yahoo mail (the new
> Oddpost-based version) use input/button.action and were seriously broken by
> WF2's action attribute.
> I propose renaming it "actionurl".

I notice that Opera still supports 'action' and doesn't seem to have 
problems in GMail; is this still a problem?


> SELECT data
> FORM data
> 
> These break
> a) scripts that set them, read them back and are confused because they turned
> into resolved URLs
> b) scripts that define global functions called data and try to call them with
> a SELECT or FORM element in scope (for example from event handlers)
> 
> I propose renaming it "dataurl"

These are both gone.


On Fri, 18 Jan 2008, Hallvord R. M. Steen wrote:
> 
> On Wed, 16 Jan 2008 20:06:44 +0100, Laurens Holst <lholst@students.cs.uu.nl>
> wrote:
> > 
> > However, I did see that the DOM ‘data’ property does not 
> > explicitly state that it should be a resolved absolute value [1]. I 
> > think this should happen, similar to similar DOM properties such as a 
> > HTMLFormElement.action [2] (note: does not explicitly state it either, 
> > but browser do implement it this way), HTMLAnchorElement.href [3] 
> > (does explicitly state it must return an absolute uri), etc..
> 
> Yes, this should be clarified.

This is cleared up now in HTML5.


> > Can I get an acknowledgement that these comments are noted by the editor?

They are!

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Wednesday, 5 November 2008 17:21:31 UTC