W3C home > Mailing lists > Public > www-style@w3.org > January 2014

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

From: Simon Sapin <simon.sapin@exyr.org>
Date: Wed, 29 Jan 2014 12:09:37 -0800
Message-ID: <52E96001.3030202@exyr.org>
To: www-style <www-style@w3.org>

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 

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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:39 UTC