W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2008

[WebIDL] questions

From: Kartikaya Gupta <lists.webapps@stakface.com>
Date: Wed, 26 Nov 2008 17:17:39 +0000
To: public-webapps@w3.org
Message-ID: <E1L5O1g-0007Px-GY@bart.w3.org>

A couple of questions I have after quickly looking over the WebIDL spec:

1. Although no mention is made of case-sensitivity in the spec, I assume that all the tokens are case sensitive. Is this correct? By tokens I'm including the names/values of the extended attributes (e.g. "PutFowards", "Empty") and things like "getraises" and "setraises".

2. There is a sentence in section 3.8.8 that says "The [PutForwards] extended attribute MUST take an identifier that is the identifier of an attribute that exists on the interface and which has the same type as this attribute." This sentence is pretty confusing and I'm not sure what "which" refers to in this sentence. It seems to imply the attribute being forwarded to should have the same type as the attribute with the PutForwards extended attribute, but the example below doesn't do that.

Cheers,
kats
Received on Wednesday, 26 November 2008 17:18:22 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:28 GMT