Open Bug 1999920 Opened 17 hours ago Updated 17 hours ago

`--s: sign(100cqw - 400px)` fails without registering `--s` (works in Chrome and Safari)

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

People

(Reporter: nchevobbe, Unassigned)

Details

Attachments

(1 file)

Attached file sign_cqw.html

In the attached page, there are 2 <section>s setting a grid-template-columns declaration with a value computed from CSS variables whose declaration are using container query unit in a sign() function.
The first section is using a registered <integer> custom property, the second one is using a non registered custom property.
In Firefox, the grid-template-columns computed value for the second section (using the non registered custom property), is 0px, in Chrome, it's 200px 200px (that might depend on body width though)

might be similar to Bug 1939353 ?

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: