W3C home > Mailing lists > Public > public-html@w3.org > February 2008

Re: Validation error frequencies (target="_new")

From: j.j. <moz@jeka.info>
Date: Mon, 04 Feb 2008 21:57:35 +0100
Message-ID: <20080204215735.3e8v67cxwg0wccwc@www.hosting-agency.de>
To: Simon Pieters <simonp@opera.com>
Cc: Henri Sivonen <hsivonen@iki.fi>, HTML Issue Tracking WG <public-html@w3.org>

Simon Pieters <simonp@opera.com> hodd gsachd:

>
> On Thu, 31 Jan 2008 22:50:52 +0100, Henri Sivonen <hsivonen@iki.fi> wrote:
>
>>> 0006 / 400	Bad value “_new” for attribute “target” on element “a”   
>>> from namespace “http://www.w3.org/1999/xhtml”: Bad browsing   
>>> context name: Browsing context name started with the underscore   
>>> and used a reserved keyword “new”.
>>
>> Perhaps these should be conforming.
>
> _top already is, but _new and _blank aren't. I think _new and _blank
> should be conforming in order to avoid javascript hacks that are harder
> to discover and disable for users who don't want new windows...


Just a note:
HTML4 Transitional allows _blank, _parent, _self, _top but not _new.

Browsers handle target="_new" same as target="xyz".

Authors might erroneous use "_new" if they want the functionality of  
"_blank". Therefore having "_new" non-conforming and "_blank"  
conforming is hepful.

j.j.
Received on Monday, 4 February 2008 20:57:48 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:52 UTC