Skip to content

Issue with "@property": Where does the multiple property syntax come from? #5830

Closed
@LeaVerou

Description

@LeaVerou

MDN URL: https://developer.mozilla.org/en-US/docs/Web/CSS/@property

The MDN article mentions a multiple property syntax:

@property --primary-color,
@property --secondary-color,
@property --text-color {
  syntax: '<color>';
  inherits: true;
}

@property --primary-color {
  initial-value: red;
}

@property --secondary-color {
  initial-value: blue;
}

@property --text-color {
  initial-value: green;
}

However, the grammar in the spec does not appear to support such a thing, nor is it supported by any implementation.

MDN Content page report details

Metadata

Metadata

Assignees

Labels

Content:CSSCascading Style Sheets docs

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions