[css-values] Base URL for relative url()

Hi,

CSS Values and Units define, for url()

> For CSS style sheets, the base URI is that of the style sheet, not
> that of the source document.

It should make sure to define the base URL in all cases where url() can 
appear.

In particular, style attributes are not stylesheets. <style> elements 
are stylesheets, but don’t "have" an URL of their own.

This section should also mention that the document language can define, 
for a given element (<style> or with a style attribute), a base URL that 
is not necessarily the same as the document’s URL.

Finally, let’s make sure this is all well-defined in cases the base URL 
changes dynamically.

-- 
Simon Sapin

Received on Wednesday, 29 January 2014 20:10:03 UTC