[svgwg] Issue: Syntactic forms: URL and <url> section is unclear or even wrong marked as Needs editing

dirkschulze has just labeled an issue for https://github.com/w3c/svgwg as "Needs editing":

== 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 ?

See https://github.com/w3c/svgwg/issues/562

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