[whatwg] Omission of frame reflection by name onto |window| in ECMAScript browsers

2007-07-06 Thread Jeff Walden
Apparently, the windows associated with frames contained within a document are added as properties to the containing document's window; the property name is the frame's name (or id, too? I don't know), and the property value is the frame's window object. Here's an example, since that's an uni

Re: [whatwg] a few thoughts

2007-07-06 Thread Andrew Fedoniouk
- Original Message - From: "Simon Pieters" <[EMAIL PROTECTED]> To: "Andrew Fedoniouk" <[EMAIL PROTECTED]>; "Henri Sivonen" <[EMAIL PROTECTED]>; "Travis Miller" <[EMAIL PROTECTED]> Cc: Sent: Friday, July 06, 2007 2:15 PM Subject: Re: [whatwg] a few thoughts On Fri, 06 Jul 2007 23:07:

Re: [whatwg] getElementsByAttr

2007-07-06 Thread Lachlan Hunt
Sander wrote: Charles McCathieNevile schreef: the current editor's draft can be found at http://dev.w3.org/cvsweb/~checkout~/2006/webapi/selectors-api/Overview.html I haven't read the whole draft yet so maybe it's in there, but can you, or anyone else, explain why there is both a selectEleme

Re: [whatwg] getElementsByAttr

2007-07-06 Thread Dan Dorman
On 7/6/07, Sander <[EMAIL PROTECTED]> wrote: But there neither are singular versions of getElementsByTagName and getElementsClassName. Yeah, and that's always sort of irked me. If I know ahead of time I want a single element, it's just a waste of time to dereference an array element--granted,

Re: [whatwg] getElementsByAttr

2007-07-06 Thread Sander
Dan Dorman schreef: On 7/6/07, Sander <[EMAIL PROTECTED]> wrote: I haven't read the whole draft yet so maybe it's in there, but can you, or anyone else, explain why there is both a selectElement and a selectAllElements method? I'm no authority, but: If you know you're after one element, you

Re: [whatwg] a few thoughts

2007-07-06 Thread Simon Pieters
On Fri, 06 Jul 2007 23:07:38 +0200, Andrew Fedoniouk <[EMAIL PROTECTED]> wrote: Does meet your needs? http://www.whatwg.org/specs/web-apps/current-work/#datagrid0 Why ? I think is just enough in this case as can contain other s now. Not in text/html. An tag has to imply for legacy r

Re: [whatwg] getElementsByAttr

2007-07-06 Thread Jon Barnett
On 7/6/07, Sander <[EMAIL PROTECTED]> wrote: Hello, I'm not sure if this has been proposed yet (can hardly believe it hasn't). But I couldn't find it in the specs so I just give it a go anyway. I'd like to see a getElementsByAttr method. It would be quite similar as the getElementsByClassNam

Re: [whatwg] a few thoughts

2007-07-06 Thread Andrew Fedoniouk
- Original Message - From: "Henri Sivonen" <[EMAIL PROTECTED]> To: "Travis Miller" <[EMAIL PROTECTED]> Cc: Sent: Friday, July 06, 2007 11:37 AM Subject: Re: [whatwg] a few thoughts On Jul 6, 2007, at 21:24, Travis Miller wrote: New list member here. I'm excited to see the W3C moving

Re: [whatwg] getElementsByAttr

2007-07-06 Thread Sander
Charles McCathieNevile schreef: On Fri, 06 Jul 2007 21:24:25 +0200, Sander <[EMAIL PROTECTED]> wrote: I'd like to see a getElementsByAttr method. It would be quite similar as the getElementsByClassName method but with an extra argument: getElementsByAttr(attribute_name, value) The W3C's Web

Re: [whatwg] getElementsByAttr

2007-07-06 Thread Charles McCathieNevile
On Fri, 06 Jul 2007 21:24:25 +0200, Sander <[EMAIL PROTECTED]> wrote: I'd like to see a getElementsByAttr method. It would be quite similar as the getElementsByClassName method but with an extra argument: getElementsByAttr(attribute_name, value) The W3C's WebAPI group is specifying a selector

[whatwg] getElementsByAttr

2007-07-06 Thread Sander
Hello, I'm not sure if this has been proposed yet (can hardly believe it hasn't). But I couldn't find it in the specs so I just give it a go anyway. I'd like to see a getElementsByAttr method. It would be quite similar as the getElementsByClassName method but with an extra argument: getEle

Re: [whatwg] a few thoughts

2007-07-06 Thread Henri Sivonen
On Jul 6, 2007, at 21:24, Travis Miller wrote: New list member here. I'm excited to see the W3C moving toward standardized support for web apps. Welcome. 1. Slider form controls: There's already : http://www.whatwg.org/specs/web-forms/current-work/#range 2. Expandable/collapsible hierarch

[whatwg] a few thoughts

2007-07-06 Thread Travis Miller
Hello all - New list member here. I'm excited to see the W3C moving toward standardized support for web apps. There are a couple of items I'd like to see in the spec that I haven't seen mentioned. I figured I'd throw them out there for discussion: 1. Slider form controls: for entry of numer

Re: [whatwg] getElementsByClassName

2007-07-06 Thread Lachlan Hunt
Simon Pieters wrote: getElementsByClassName is defined to take an array of strings as argument. What exactly is an array? A native ECMAScript array, or anything with a 'length' property and the properties '0' -> length-1? Is a DOMTokenList an "array" that can be passed to gEBCN? It could be d

[whatwg] getElementsByClassName

2007-07-06 Thread Simon Pieters
getElementsByClassName is defined to take an array of strings as argument. What exactly is an array? A native ECMAScript array, or anything with a 'length' property and the properties '0' -> length-1? Is a DOMTokenList an "array" that can be passed to gEBCN? Firefox has implemented it as a

Re: [whatwg] additional key attribute in form field

2007-07-06 Thread Alexey Feldgendler
On Fri, 06 Jul 2007 14:07:10 +0200, Alexander <[EMAIL PROTECTED]> wrote: The simple name/value pairs that form submission is organized in are sufficient for expressing data structures of any complexity. Multidimensional keys like (name, key) in your example can be expressed through combi

Re: [whatwg] additional key attribute in form field

2007-07-06 Thread Alexander
The simple name/value pairs that form submission is organized in are sufficient for expressing data structures of any complexity. Multidimensional keys like (name, key) in your example can be expressed through combined names: Of course, it's how I usually do this :) But I would n

[whatwg] Discussion on machine-checkability on public-html

2007-07-06 Thread Henri Sivonen
http://lists.w3.org/Archives/Public/public-html/2007Jun/0251.html http://lists.w3.org/Archives/Public/public-html/2007Jun/0252.html http://lists.w3.org/Archives/Public/public-html/2007Jun/0254.html http://lists.w3.org/Archives/Public/public-html/2007Jun/0256.html http://lists.w3.org/Archives/Publi

Re: [whatwg] additional key attribute in form field

2007-07-06 Thread Alexey Feldgendler
On Fri, 06 Jul 2007 13:32:17 +0200, Alexander <[EMAIL PROTECTED]> wrote: i wonder why there's still no a special 'key' attribute for every form field implemented. Let's say I have rendered table from query result and one column could be updateable via text field. And let's say record id fie

[whatwg] additional key attribute in form field

2007-07-06 Thread Alexander
Greetings, i wonder why there's still no a special 'key' attribute for every form field implemented. Let's say I have rendered table from query result and one column could be updateable via text field. And let's say record id field is uniqueidentifier (not integer). I'd like to write the follo

Re: [whatwg] Allowed characters in attribute names (was: Re: Steps for finding one or two numbers in a string)

2007-07-06 Thread Simon Pieters
On Fri, 22 Jun 2007 04:19:53 +0200, Ian Hickson <[EMAIL PROTECTED]> wrote: Safari, Opera and Firefox drop the attribute. IE has an attribute with the name being the empty string and the value being ="". The HTML5 parsing spec says that there should be an attribute with the name = and the val