ISSUE-204: Drop comma in attr() syntax to match CSS value syntax principles
Drop comma in attr() syntax to match CSS value syntax principles
- CSS3 Values and Units
- Raised by:
- Elika Etemad
- Opened on:
- The principle of comma usage in CSS value syntax is that commas separate items in a list of parallel constructs. If we're going with CSS argument syntax per radial-gradient(), the comma between the attribute name and the type keyword in attr() thus should be dropped.
- Related Actions Items:
- No related actions
- Related emails:
- [CSSWG] Minutes and Resolutions Telecon 2011-12-14 (from firstname.lastname@example.org on 2011-12-14)
- [css3-values] Remaining issues before LC (from email@example.com on 2011-12-12)
- CSS-ISSUE-204: Drop comma in attr() syntax to match CSS value syntax principles [CSS3 Values and Units] (from firstname.lastname@example.org on 2011-12-12)
The functional notation uses commas to separate arguments, as per normal functional notation. The comma has been used for years in quite complex styling, as discussed here:
How would these values be reformulated without commas?
Display change log