Closed Bug 1865655 Opened 1 year ago Closed 1 year ago

[css-properties-values-api] Honor font-* dependencies when computing registered custom properties

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1856522

People

(Reporter: zrhoffman, Unassigned)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached file testcase.html (obsolete) —

If font-* declarations reference custom properties, those substitutions need to be made before registered custom properties that use font-relative units can be computed.

Example, where --my-registered-property has <length> syntax:

--my-registered-property: 10em;
width: var(--my-registered-property);
--another: 20px;
font-size: var(--another);
Attachment #9364503 - Attachment is obsolete: true
Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1856522
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: