Closed Bug 1389686 Opened 8 years ago Closed 6 years ago

CSS grid-column/row properties don't accept calc() values

Categories

(Core :: CSS Parsing and Computation, defect, P3)

56 Branch
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox57 --- wontfix

People

(Reporter: miriam, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36 Steps to reproduce: Load https://codepen.io/mirisuzanne/pen/8b576caf81541903f28d418164ae5358?editors=1100 - First block uses plain numbers in `grid-column-start` - Second block uses calc() for the same column-start position - Third block uses custom properties - Fourth block uses calc with custom properties Actual results: Blocks 2 and 4 (using calc) ignore the given value, and start in the default column. Expected results: All four blocks should start and end at the same place, spanning from grid-line 3 through grid-line 7.
This is also true on the current version of Firefox: 54 - but seems to still be true in the latest nightly release.
Component: Untriaged → CSS Parsing and Computation
Product: Firefox → Core
Priority: -- → P3

This seems to be resolved?

Yes, this was fixed by stylo.

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.