- From: Håkon Wium Lie <howcome@opera.com>
- Date: Wed, 25 Sep 2013 21:19:37 +0200
- To: Simon Sapin <simon.sapin@exyr.org>
- Cc: www-style@w3.org
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