Re: html dom, attributes that contain URIs

On Thu, 2003-07-24 at 20:55, Daniel Brooks wrote:
> I'm working on Mozilla a little, and need some clarification regarding a 
> few properties in the HTML DOM. I'd like to be able to make a number of 
> properties that contain URIs according to the HTML spec resolve the URI 
> wrt any applicable base URIs when accessed. The problem is that a number 
> of these are not actually defined as containing URIs in the HTML DOM 
> level 2 spec. An example would be the code attribute on an 
> HTMLObjectElement 
> (http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109/html.html#ID-75241146). 
> 
> 
> Can these properties return an absolute value, even if the source 
> document contains a relative one?
> 
> Then of course there are the properties that contain a space seperated 
> list of URIs, which is more complicated, but I think is straightforward. 
> I'd like to make them return a space seperated list of absolute URIs.

This is a known issue in the HTML specification:
http://lists.w3.org/Archives/Public/www-dom/2003AprJun/0006.html

However, the erratum still needs to be done...

Philippe

Received on Friday, 25 July 2003 11:19:52 UTC