W3C home > Mailing lists > Public > public-forms@w3.org > February 2013

Re: Target attribute on submission and load element

From: Nick Van den Bleeken <Nick.Van.den.Bleeken@inventivegroup.com>
Date: Mon, 11 Feb 2013 14:01:46 +0000
To: Erik Bruchez <erik@bruchez.org>, Steven Pemberton <Steven.Pemberton@cwi.nl>
CC: Public Forms <public-forms@w3.org>
Message-ID: <798B5143-DD68-480E-87AE-46008679AA6F@inventivegroup.com>
Steven,

Can you put this on the agenda for next call.

Do we add target attribute to submission and load element? If yes what are the values defined in the spec? Do we make the value space compatible with HTML5?

http://www.w3.org/html/wg/drafts/html/master/links.html#attr-hyperlink-target
http://www.w3.org/html/wg/drafts/html/master/browsers.html#valid-browsing-context-name-or-keyword

In the spec

Kind regards,

Nick Van den Bleeken
R&D Manager

Phone: +32 3 425 41 02
Office fax: +32 3 821 01 71
nick.van.den.bleeken@inventivegroup.com<mailto:nick.van.den.bleeken@inventivegroup.com>
www.inventivedesigners.com


[cid:image001.png@01CBF2F8.1DA19110][cid:image002.png@01CBF2F8.1DA19110][cid:image003.png@01CBF2F8.1DA19110]

On 08 Feb 2013, at 19:16, Erik Bruchez <erik@bruchez.org<mailto:erik@bruchez.org>> wrote:

Nick,

I would also add it to load for consistency. It's similar to the JavaScript `window.open()` which also takes a name parameter (although this should be used rarely), and there is nothing load can do (except @show) which submission can't do.

-Erik


On Fri, Feb 8, 2013 at 1:11 AM, Nick Van den Bleeken <Nick.Van.den.Bleeken@inventivegroup.com<mailto:Nick.Van.den.Bleeken@inventivegroup.com>> wrote:
Erik,

Just to be clear, do you propose adding @target on submission element AND load action?

Kind regards,

Nick Van den Bleeken
R&D Manager

Phone: +32 3 425 41 02<tel:%2B32%203%20425%2041%2002>
Office fax: +32 3 821 01 71<tel:%2B32%203%20821%2001%2071>
nick.van.den.bleeken@inventivegroup.com<mailto:nick.van.den.bleeken@inventivegroup.com>
www.inventivedesigners.com<http://www.inventivedesigners.com/>


<image001.png><image002.png><image003.png>

On 07 Feb 2013, at 19:19, Erik Bruchez <erik@bruchez.org<mailto:erik@bruchez.org>> wrote:

Nick,

I don't think target="new" is right. It was a placeholder for the
topic to discuss. The original request doesn't mention "new". [1]

I can see a double reason to use @target instead of @show:

- it's compatible with HTML
- it allows you to target a named tab/window ("browsing context" in
HTML parlance [2])

In other words, @target is a superset of @show.

Contrary to what the minutes say, @target doesn't seem to be
deprecated in HTML5. At least I don't see any mention of that.

So I would use @target.

-Erik

[1] http://lists.w3.org/Archives/Public/www-forms/2012Jul/0000.html
[2] http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#browsing-context-names

On Thu, Feb 7, 2013 at 5:12 AM, Nick Van den Bleeken
<Nick.Van.den.Bleeken@inventivegroup.com<mailto:Nick.Van.den.Bleeken@inventivegroup.com>> wrote:
All,

I have action https://www.w3.org/2005/06/tracker/xforms/actions/1909 to add
a target attribute on submission and load element supporting value 'new'.
But we already have a 'show' attribute with value 'new' on the load element.

Shouldn't we add a 'show' attribute on submission then?

Kind regards,

Nick Van den Bleeken
R&D Manager

Phone: +32 3 425 41 02<tel:%2B32%203%20425%2041%2002>
Office fax: +32 3 821 01 71<tel:%2B32%203%20821%2001%2071>
nick.van.den.bleeken@inventivegroup.com<mailto:nick.van.den.bleeken@inventivegroup.com>
www.inventivedesigners.com<http://www.inventivedesigners.com/>

________________________________

Inventive Designers' Email Disclaimer:
http://www.inventivedesigners.com/email-disclaimer




________________________________

Inventive Designers' Email Disclaimer:
http://www.inventivedesigners.com/email-disclaimer



________________________________

Inventive Designers' Email Disclaimer:
http://www.inventivedesigners.com/email-disclaimer



image001.png
(image/png attachment: image001.png)

image002.png
(image/png attachment: image002.png)

image003.png
(image/png attachment: image003.png)

Received on Monday, 11 February 2013 14:02:23 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 October 2013 22:06:58 UTC