- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Tue, 30 Apr 2019 21:17:16 +0000
- To: public-css-archive@w3.org
Other than implementing the attr()-with-type functionality, what other use-case would there be for this? We can't work around "browsers aren't implementing X" by creating a Y that's identical to X.
Notably, both of your example are just exactly attr()-with-type, except attr() is easier to read:
```css
.icon {
content: attr(href image, url("fallback.png"));
width: attr(data-width var(--icon-unit), 1em);
}
```
--
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3702#issuecomment-488118915 using your GitHub account
Received on Tuesday, 30 April 2019 21:17:17 UTC