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

Re: Target attribute on submission and load element

From: Erik Bruchez <erik@bruchez.org>
Date: Fri, 8 Feb 2013 10:16:35 -0800
Message-ID: <CAAc0PEXKLViFe716_U3n9yE=K_zCGDNaH7vQ6eyFXATmHHO1Gw@mail.gmail.com>
To: Nick Van den Bleeken <Nick.Van.den.Bleeken@inventivegroup.com>
Cc: Public Forms <public-forms@w3.org>
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> 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
> Office fax: +32 3 821 01 71
> nick.van.den.bleeken@inventivegroup.com
> www.inventivedesigners.com
>
>
>
>  On 07 Feb 2013, at 19:19, Erik Bruchez <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> 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
> Office fax: +32 3 821 01 71
> nick.van.den.bleeken@inventivegroup.com
> www.inventivedesigners.com
>
> ________________________________
>
> 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)

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

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

Received on Friday, 8 February 2013 18:17:25 UTC

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