Re: [whatwg] Scoping elements and nested paragraphs

2008-12-02 Thread Tommy Thorsen
Ian Hickson wrote: On Wed, 12 Nov 2008, Tommy Thorsen wrote: Consider the following markup: pobjectpX/p/p The html5 parsing algorithm produces the following tree: htmlhead/headbodypobjectpX/pp/p/object/p/body/html whereas Firefox and Opera both produce:

Re: [whatwg] Early feedback on header association algorithm

2008-12-02 Thread Aaron Leventhal
Maybe there is a deeper problem if copy paste doesn't work right because of IDs? Or maybe there should be a node.getDescendantById() method? I don't know. It just seems odd to implement something special here for that. - Aaron On 11/22/2008 3:06 PM, Henri Sivonen wrote: On Nov 22, 2008,

Re: [whatwg] [WF2] action=mailto: - encoding spaces

2008-12-02 Thread Julian Reschke
Ian Hickson wrote: ... I actually can't find where it is defined that the + in an HTTP URI represents a space. (I can find where it says that a space is to be converted into a +, but not the other way around.) Where does it say that? Surely not RFC 2616? RFC 3986? My understanding, though,

Re: [whatwg] Errormessages in forms

2008-12-02 Thread Oldřich Vetešník
Dne Tue, 02 Dec 2008 11:31:07 +0100 Ian Hickson [EMAIL PROTECTED] napsal/-a: Well, in the snippet above, the following seems adequate: label Instructions input name=idfield Type in dd-mm-yyy format/label ...and the custom error message should be set from script, using

Re: [whatwg] input placeholder=

2008-12-02 Thread Thomas Broyer
On Tue, Dec 2, 2008 at 11:44 AM, Ian Hickson wrote: For textarea, a placeholder value seems odd. Do you have examples of people doing that? Google Code hosting for adding a comment on an issue: http://code.google.com/p/support/issues/detail?id=1#makechanges -- Thomas Broyer

Re: [whatwg] CSRFs and Origin header and forms

2008-12-02 Thread Ian Hickson
I've added the Origin header to all non-GET browsing context navigation and to ping= processing. http://html5.org/tools/web-apps-tracker?from=2524to=2525 -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\

Re: [whatwg] [WF2] action=mailto: - encoding spaces

2008-12-02 Thread Michael A. Puls II
On Tue, 02 Dec 2008 05:00:11 -0500, Ian Hickson [EMAIL PROTECTED] wrote: On Tue, 2 Dec 2008, Michael A. Puls II wrote: Consider this form: form action=mailto:?subject=1+2; action=POST input type=submit value=Compose /form (which contains a valid mailto URI meaning that 1+2 should be the

[whatwg] size attribute

2008-12-02 Thread James Graham
The phrase The size attribute gives the number of characters that, in a visual rendering, the user agent is to allow the user to see while editing the element's value. is phrased misleadingly like a UA conformance criterion even though it is not. It doesn't account for the fact that a

Re: [whatwg] [WF2] action=mailto: - encoding spaces

2008-12-02 Thread Ian Hickson
On Tue, 2 Dec 2008, Michael A. Puls II wrote: Consider this form: form action=mailto:?subject=1+2; action=POST input type=submit value=Compose /form (which contains a valid mailto URI meaning that 1+2 should be the value of the subject) Imagine in your browser that it supports

Re: [whatwg] [WF2] action=mailto: - encoding spaces

2008-12-02 Thread Ian Hickson
On Tue, 2 Dec 2008, Michael A. Puls II wrote: I'm talking about a UA associating mailto: links and mailto: form submission with webmail clients (like Gmail for example) by whatever means, just like UAs can do with Thunderbird for example. This could be done with registerProtocolHandler,

Re: [whatwg] comment on autofocus attribute from Web Forms 2.0 spec

2008-12-02 Thread Ian Hickson
On Fri, 28 Nov 2008, Anne van Kesteren wrote: On Sat, 08 Nov 2008 18:46:48 +0100, Ian Hickson [EMAIL PROTECTED] wrote: On Mon, 16 Jun 2008, Adele Peterson wrote: I saw the need for this in our Web Inspector, which has a lot of custom controls (including some that use contenteditable

Re: [whatwg] Errormessages in forms

2008-12-02 Thread Ian Hickson
On Tue, 11 Nov 2008, Oldřich Vetešník wrote: Dne Mon, 10 Nov 2008 21:50:37 +0100 Ian Hickson [EMAIL PROTECTED] napsal/-a: label for=idfieldInstructions/label input name=idfield id=idfield hint for=idfieldType in dd-mm- format/hint error for=idfieldMust be a valid value/error

Re: [whatwg] Review of the 3.16 section and the HTMLInputElement interface

2008-12-02 Thread Ian Hickson
On Mon, 17 Nov 2008, Samuel Santos wrote: On Wed, Nov 12, 2008 at 12:14 AM, Ian Hickson [EMAIL PROTECTED] wrote: On Tue, 11 Nov 2008, Samuel Santos wrote: On Thu, 6 Nov 2008, Samuel Santos wrote: If changing the button text can be a security issue (e.g. induce the user to an

Re: [whatwg] Early feedback on header association algorithm

2008-12-02 Thread timeless
On Tue, Dec 2, 2008 at 10:39 AM, Aaron Leventhal [EMAIL PROTECTED] wrote: Maybe there is a deeper problem if copy paste doesn't work right because of IDs? Or maybe there should be a node.getDescendantById() method? maybe, but not with that name. Results 1 - 10 of about 4,480,000 for

Re: [whatwg] HTML5 and URI Templates

2008-12-02 Thread Ian Hickson
On Sat, 1 Nov 2008, Erik Wilde wrote: The benefit would be having more control over the construction of the URI rather than just the query parameters. I could have a form with two simple fields a and b and specify http://test.org/customers/{a}/reports/{b}; as the action URI.

Re: [whatwg] [WF2] action=mailto: - encoding spaces

2008-12-02 Thread Michael A. Puls II
On Tue, 02 Dec 2008 02:48:15 -0500, Ian Hickson [EMAIL PROTECTED] wrote: On Wed, 29 Oct 2008, Michael A. Puls II wrote: On Wed, 29 Oct 2008 03:42:17 -0400, Ian Hickson [EMAIL PROTECTED] wrote: On Wed, 29 Oct 2008, Michael A. Puls II wrote: What about the method=POST case where the query

Re: [whatwg] input placeholder=

2008-12-02 Thread Ian Hickson
On Mon, 17 Nov 2008, Ojan Vafai wrote: This is a useful property on any text input element. Seems like it should apply to textareas as well as contentEditable elements and iframes with designMode on. I can point to real-world examples of the latter if need be. I think it's acceptable that

[whatwg] More template feedback

2008-12-02 Thread Ian Hickson
(trimmed cc list so that I'm not cross-posting to half a dozen lists) On Sat, 1 Nov 2008, Mike Schinkel wrote: If URI Templates are added I can see them be immediately incorporated into CMS like Drupal, WordPress and Joomla (I use the former two so I'll add it if nobody else does) and

Re: [whatwg] [WF2] action=mailto: - encoding spaces

2008-12-02 Thread Ian Hickson
On Tue, 2 Dec 2008, Julian Reschke wrote: Ian Hickson wrote: ... I actually can't find where it is defined that the + in an HTTP URI represents a space. (I can find where it says that a space is to be converted into a +, but not the other way around.) Where does it say that? Surely

Re: [whatwg] [WF2] action=mailto: - encoding spaces

2008-12-02 Thread Michael A. Puls II
On Tue, 02 Dec 2008 07:16:51 -0500, Ian Hickson [EMAIL PROTECTED] wrote: On Tue, 2 Dec 2008, Michael A. Puls II wrote: I'm talking about a UA associating mailto: links and mailto: form submission with webmail clients (like Gmail for example) by whatever means, just like UAs can do with

Re: [whatwg] Citing multiple blockquote elements in HTML5

2008-12-02 Thread Calogero Alex Baldacchino
Ian Hickson ha scritto: On Mon, 1 Dec 2008, Calogero Alex Baldacchino wrote: Yes, a hash link (a href=#foo) will scroll to the element with an id=foo. If coding properly, you'll virtually *never* use an a for an actual *anchor*, but rather will target the most semantically appropriate

Re: [whatwg] Citing multiple blockquote elements in HTML5

2008-12-02 Thread Benjamin Hawkes-Lewis
Calogero Alex Baldacchino wrote: However, now I have a question. The 3rd step of the algorithm to determine the indicated part of the document says, If there is an element in the DOM that has an ID exactly equal to /fragid/, then the first such element in tree order is the indicated part of

Re: [whatwg] usemap= and related issues

2008-12-02 Thread Jonas Sicking
Jonas Sicking wrote: Ian Hickson wrote: On Thu, 26 Jun 2008, Jonas Sicking wrote: On Sat, 18 Aug 2007, Jonas Sicking wrote: Since ID is case sensitive everywhere else, I don't see a reason to make an exception from that rule here. That seems to unnecessarily complicate implementation as

Re: [whatwg] Citing multiple blockquote elements in HTML5

2008-12-02 Thread Ian Hickson
On Tue, 2 Dec 2008, Calogero Alex Baldacchino wrote: Indeed it does, and I found such behaviour more consistent than letting just the a element with a 'name' or an 'id' being an anchor for navigating to a fragment :-) However, now I have a question. The 3rd step of the algorithm to

Re: [whatwg] usemap= and related issues

2008-12-02 Thread Ian Hickson
On Tue, 2 Dec 2008, Jonas Sicking wrote: I just did a little bit of testing, but it seems like IE *always* treat id's in a case insensitive manner, including for getElementById. If we are duplicating that quirk then we should do it consistently, not just for image maps. However

Re: [whatwg] Citing multiple blockquote elements in HTML5

2008-12-02 Thread Calogero Alex Baldacchino
Benjamin Hawkes-Lewis ha scritto: Calogero Alex Baldacchino wrote: [...] I think you're confusing parsing rules that conforming user agents must follow to associate identifiers with elements (even when ids are duplicated) with the authoring rules that conforming documents must follow (ids

Re: [whatwg] Citing multiple blockquote elements in HTML5

2008-12-02 Thread Calogero Alex Baldacchino
Ian Hickson ha scritto: Exactly how getElementById() works is out of scope for HTML5, but in the Web DOM Core spec that Simon is working on I imagine he has specced that it will pick the first element with a matching ID or some such behavior. Cheers, Is it thought as a somewhat break with

Re: [whatwg] Citing multiple blockquote elements in HTML5

2008-12-02 Thread Ian Hickson
On Wed, 3 Dec 2008, Calogero Alex Baldacchino wrote: When you read The value must not contain any space characters., is it an authoring rule for conforming documents, for you? Ok. Right, statements that place requirements on what the values must be are authoring requirements. When you

Re: [whatwg] Citing multiple blockquote elements in HTML5

2008-12-02 Thread Ian Hickson
On Wed, 3 Dec 2008, Calogero Alex Baldacchino wrote: Ian Hickson ha scritto: Exactly how getElementById() works is out of scope for HTML5, but in the Web DOM Core spec that Simon is working on I imagine he has specced that it will pick the first element with a matching ID or some such