Re: [csswg-drafts] [css-values] attr()'s url type seems wrong (#5079)

For base URL it would be https://html.spec.whatwg.org/multipage/urls-and-fetching.html#document-base-url.

For encoding I'm having a harder time pinning down ideal rules. Largely we want new places to use UTF-8, but most (X)HTML elements will not. The field is https://dom.spec.whatwg.org/#concept-document-encoding. Whatever we do here this should get a lot of detailed tests and probably security review.

To get to the document from an element you would use https://dom.spec.whatwg.org/#concept-node-document.

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

Received on Friday, 29 May 2020 18:00:24 UTC