[svgwg] Syntactic forms: URL and <url> section is unclear or even wrong

dirkschulze has just created a new issue for https://github.com/w3c/svgwg:

== Syntactic forms: URL and <url> section is unclear or even wrong ==
Syntactic forms: URL and <url> does not differ correctly between URL and <url> (one being a "string", latter being a CSS Value/CSS function).

> However, many presentation attributes allow both URLs and text strings as content.
As far as I know, none of the presentation attributes use URL at all, they always use `url()` (or <url> CSS value).

Therefore, the next string:
> To disambiguate a text string from a relative URL
doesn't make sense. First, it is defined by the properties presentation attributes refer to anyway. Second, This described problem does not exist.

IMO, this section is misleading and could be removed entirely. If we want to make clear that there is a difference between URL and <url> we could add a non-normative note that presentation attributes always use the CSS Value <url> which is a CSS defined url() function and we link to CSS Units and Values and that <url> shall not be confused with URL which is a string as defined by the previous section.

@AmeliaBR ?

Please view or discuss this issue at https://github.com/w3c/svgwg/issues/562 using your GitHub account

Received on Thursday, 25 October 2018 08:05:53 UTC