- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Mon, 02 Jul 2018 23:54:42 +0000
- To: public-css-archive@w3.org
The Working Group just discussed `empty url behavior`, and agreed to the following: * `RESOLVED: Empty URLs are treated as "about:invalid"` <details><summary>The full IRC log of that discussion</summary> <fantasai> Topic: empty url behavior<br> <fantasai> github: https://github.com/w3c/csswg-drafts/issues/2211<br> <fantasai> ScribeNick: fantasai<br> <fantasai> TabAtkins: url() function with empty string as its argument...<br> <fantasai> TabAtkins: I changed spec ot match behavior of empty resource requests in HTML<br> <fantasai> TabAtkins: and y'all reverted the change because you didn't understand why I did it<br> <fantasai> TabAtkins: Answer is to be consistent with HTML!<br> <fantasai> TabAtkins: Empty URL is technically a relative URL to the resource itself<br> <fantasai> TabAtkins: But e.g. in HTML <img src=""> doesn't load the resource<br> <fantasai> TabAtkins: Empty URLs will still resolve in some cases, like in links<br> <fantasai> TabAtkins: But not for resource loading like this. Makes no sense to load the CSS stylesheet as an image of itself.<br> <fantasai> ...<br> <fantasai> chris: Do we expose imports in the OM, and would ...??<br> <fantasai> TabAtkins: I don't know<br> <fantasai> TabAtkins: But recursively attaching the same URL again wouldn't be useful<br> <fantasai> TabAtkins: I would like it to automatically fail, invalid URL.<br> <fantasai> tantek: But not invalid syntax<br> <fantasai> TabAtkins: No, not invalid syntax<br> <fantasai> TabAtkins: There's no place in CSS where resolving the URL as the URL of the stylesheet would be useful<br> <fantasai> TabAtkins: Proposal is that the empty URL, rather than being treated as a relative URL, is treated as an invalid URL<br> <fantasai> TabAtkins: Computed value is still an empty string, just treated like 'about:invalid'<br> <fantasai> TabAtkins: There should be no noticeable behavior difference, since the stylesheet is not a valid image/etc.<br> <tantek> +1<br> <fantasai> Rossen: Other comments?<br> <fantasai> RESOLVED: Empty URLs are treated as "about:invalid"<br> <TabAtkins> ScribeNick: TabAtkins<br> <TabAtkins> Rossen: So this is the last Values 3 issue.<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2211#issuecomment-401971604 using your GitHub account
Received on Monday, 2 July 2018 23:54:52 UTC