Re: [css3-gcpm] Cross-references error cases

Simon Sapin wrote:

 > The examples for target-counter(), target-counters() and target-text() 
 > only use relative URLs with only a fragment, altough the syntax permits 
 > any URL.
 > 
 > What happens in these cases?
 > 
 > a. The URL does not have any fragment specified
 > b. The URL has a fragment but the document has no corresponding 
 > ID/anchor name
 > c. The URL points to a different document, ie. it different from the 
 > document’s URL other than by the fragment.
 > 
 > I think all of these cases should be errors, resulting in zero or the 
 > empty string.
 > 
 > In particular, even c could in theory fetch the remote document and give 
 > a result, but I think that’s not desirable.

I agree with all your points. The ED is locked for review purposes,
but I'll put it in once the editing resumes. Unless other people have
better ideas :)

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome

Received on Wednesday, 25 September 2013 19:20:16 UTC