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

RESOLVED FIXED

Status

P3
enhancement
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: sebo, Assigned: sebo)

Tracking

Details

(URL)

(Assignee)

Description

3 years ago
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
(Assignee)

Updated

3 years ago
Depends on: 1199006
(Assignee)

Comment 1

3 years ago
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
(Assignee)

Comment 2

3 years ago
Created a function, which interprets the macros, so the fix for bug 939214 is not required for this anymore.

Sebastian
Status: ASSIGNED → RESOLVED
Last Resolved: 3 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.