[whatwg] Inconsistent behavior for empty-string URLs

Simon Pieters simonp at opera.com
Thu Dec 17 13:58:03 PST 2009


On Wed, 16 Dec 2009 17:21:01 +0100, Jonas Sicking <jonas at sicking.cc> wrote:

>>> So the specific list would then be:
>>>
>>> <img>
>>> <link>
>>
>> I think only icon, prefetch and stylesheet links.
>>
>> The following element defines two links, one of which would be ignored:
>>
>>   <link rel="icon index" href>
>
> Sounds good.
>
>>> <script>
>>> <iframe>
>>> <video>
>>
>> Including poster?
>
> Yes. Good catch.
>
>>> <audio>
>>> <object>
>>> <embed>
>>> <source>
>>> <input type=image>
>>
>> <command icon>?
>> <html manifest>?
>> <applet code>? (Maybe not, since it's more of a parameter to the Java
>> plugin.)
>> <frame src>?
>
> I don't really feel strongly about <applet> given that it's
> deprecated. But sounds good.

I asked Philip to provide some data about pages using empty attributes for  
these:

<Philip`> zcorpan: http://philip.html5.org/data/empty-url-attributes.txt
<Philip`> zcorpan:  
http://philip.html5.org/data/empty-url-link-attributes.txt


I have not looked at these yet, but it would probably be good to do so  
before changing things, so we have an idea what the compat impact is. It  
would also be good to document what browsers do today for all of these.

-- 
Simon Pieters
Opera Software



More information about the whatwg mailing list