Re: [csswg-drafts] [css-values] what's the base URL to be used for inline styles?

Note that at least for HTML presentational attributes the HTML spec 
covers this.  For example, for <body background> it says:

> When a body element has a background attribute set to a non-empty 
value, the new value is expected to be parsed relative to the 
element's node document, and if this is successful, the user agent is 
expected to treat the attribute as a presentational hint setting the 
element's 'background-image' property to the resulting URL string.

The "parsed" bit there returns an absolute URL.

-- 
GitHub Notification of comment by bzbarsky
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/899#issuecomment-272249717 
using your GitHub account

Received on Thursday, 12 January 2017 18:57:30 UTC