W3C home > Mailing lists > Public > www-html@w3.org > May 2005

Re: [XHTML 2] 24.1 OBJECT declare and "completed loading" (PR#7751)

From: Jim Ley <jim@jibbering.com>
Date: Tue, 31 May 2005 21:55:37 +0100
Message-ID: <073d01c56623$18b598d0$2402a8c0@Snufkin>
To: "Justin Wood \(Callek\)" <116057@bacon.qcc.mass.edu>
Cc: "Brad Pettit" <bradp@microsoft.com>, <w3c-html-wg@w3.org>, <www-html@w3.org>, <xhtml2-issues@mn.aptest.com>

"Justin Wood (Callek)" <116057@bacon.qcc.mass.edu>
>> Add an attribute to the OBJECT such that the author can suggest if it can 
>> be activated before the document is loaded, and add a conformance 
>> requirement that the UA style any links to ones that can't be in a 
>> disabled state until the onload event fires.
> Regarding the last one, how would you be able to "define" this;
> [....]
> <a href="#notAvalidFragment">foo</a>
> <a href="#object1">Activate Some Object Defined Later in Document</a>
> <object id="object1" declare="declare" ... a video ... />
> <object id="object2" declare="declare" ... a second video ... />
> <a href="#object2">Activate Some Object Defined Earlier in Document</a>
> [....]
> The Object 2 link seems the only one which could be "reliably" disabled 
> *as the document loads*, sure depending on relative placement of the 
> Object 1 link, and Object 1 itself, it may be possible to assign the 
> disabled flag to Object 1's link as well, but is near-futile;  The links 
> will still be _there_ though they do not necessarily have to target any 
> real fragment.  [Though a real fragment is good practice]

href="#" references must come after their <object declare definitions, so 
the 2nd link is not an issue we need to concern ourself, see
24.2.2. [...]
| A declared object element must appear in a document before the
| first time the object data is referenced. For example, the declaring
| object element must appear before a link referencing the object data.

I would like to see internal references to #'s that aren't defined also be 
non-conformant, to remove any issues with the first example link above.


Received on Tuesday, 31 May 2005 20:56:03 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:10 UTC