Closed
Bug 1199772
Opened 10 years ago
Closed 10 years ago
Execute macros in CSS JSON DB values
Categories
(Developer Documentation Graveyard :: Macros/Templates, enhancement, P2)
Developer Documentation Graveyard
Macros/Templates
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sebo, Assigned: sebo)
References
()
Details
Macros in values coming from the CSSData template need to be executed.
Sebastian
Comment 1•10 years ago
|
||
If I see it correctly, there are only three macros in the values in CSSData:
csxxref
SVGElement
xref_csslength
An alternative approach might be to copy the functionality of these macros into cssinfo and provide them as string substitution functions inline (or maybe a single optimized function for all of them as they all just provide a link).
| Assignee | ||
Comment 2•10 years ago
|
||
(In reply to Florian Scholz [:fscholz] from comment #1)
> An alternative approach might be to copy the functionality of these macros
> into cssinfo and provide them as string substitution functions inline (or
> maybe a single optimized function for all of them as they all just provide a
> link).
Did that now and it finally seems to work fine for me. I added a note in the template referring to bug 939214, so we may change it when that bug gets fixed.
Sebastian
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•