Closed Bug 1199013 Opened 9 years ago Closed 9 years ago

Replace templates related to CSS 'special info' by one that makes use of the JSON DB

Categories

(Developer Documentation Graveyard :: Macros/Templates, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sebo, Assigned: sebo)

References

()

Details

The different templates that are used to define whether a CSS property applies to specific pseudo-elements and whether it creates a stacking context from https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_special_properties should be replaced by a template making use of the CSSData JSON template. The related templates are:

cssnostacking
cssnotonfirstletter
cssnotonfirstline
cssnotonplaceholder
cssonfirstletter
cssonfirstline
cssonplaceholder
cssstacking

Sebastian
Depends on: 1199006
The logic for this was included in the 'cssinfo' template instead of creating a separate one.

There's still one issue, though, which is related to the pseudo-elements being referenced using the 'cssxref' macro, which requires template() to be called from within a function, which requires bug 939214 to be fixed.

Sebastian
Depends on: 939214
Created a function, which interprets the macros, so the fix for bug 939214 is not required for this anymore.

Sebastian
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
No longer depends on: 939214
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.