Open
Bug 1216351
Opened 10 years ago
Updated 3 years ago
Consider autopopulating "subproperties" list for aliases, in property_database.js
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
NEW
| Tracking | Status | |
|---|---|---|
| firefox44 | --- | affected |
People
(Reporter: dholbert, Unassigned)
References
Details
As noted in bug 1212191 comment 5, we could condense property_database.js a bit if we autopopulated the "subproperties" list for aliases.
In particular:
- For true shorthands, we can copy the subproperties list from the aliased property.
- Otherwise, we can just make subproperties a singleton array containing the same value as the "alias_for" field. (The name of the aliased property.)
This has the upside of making it easier to add aliases, and the slight downside of making this list a little more magical & a little less declarative. I think the upside outweighs the downside, though. (This is also a logical extension of bug 1210905.)
| Reporter | ||
Updated•10 years ago
|
Summary: Consider autopopulating "subproperties" list for aliases → Consider autopopulating "subproperties" list for aliases, in property_database.js
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•