Closed Josh-Cena closed 1 week ago
https://developer.mozilla.org/en-US/docs/Web/CSS/url
This page
This page conflates <url> with url(). Many pages that accept <url> wrongly link here.
<url>
url()
<url> is not just url(); it also consists of src(), which is like url() except literal URLs must be quoted, allowing things like src(var(--my-src)).
src()
src(var(--my-src))
https://drafts.csswg.org/css-values/#urls
No response
No browser has implemented the src() function yet, so we should not create a page for it.
MDN URL
https://developer.mozilla.org/en-US/docs/Web/CSS/url
What specific section or headline is this issue about?
This page
What information was incorrect, unhelpful, or incomplete?
This page conflates
<url>
withurl()
. Many pages that accept<url>
wrongly link here.What did you expect to see?
<url>
is not justurl()
; it also consists ofsrc()
, which is likeurl()
except literal URLs must be quoted, allowing things likesrc(var(--my-src))
.Do you have any supporting links, references, or citations?
https://drafts.csswg.org/css-values/#urls
Do you have anything more you want to share?
No response
MDN metadata
Page report details
* Folder: `en-us/web/css/url` * MDN URL: https://developer.mozilla.org/en-US/docs/Web/CSS/url * GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/css/url/index.md * Last commit: https://github.com/mdn/content/commit/875d97804293021faaf66c16a76e2f31a6df56e1 * Document last modified: 2024-05-06T13:36:09.000Z