Closed Bug 647488 Opened 13 years ago Closed 13 years ago

calc() not allowed in gradient color stop position

Categories

(Core :: CSS Parsing and Computation, defect)

x86
macOS
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 594935

People

(Reporter: lea, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.2a1pre) Gecko/20110323 Firefox/4.0b13pre
Build Identifier: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.2a1pre) Gecko/20110323 Firefox/4.0b13pre

The Image Values specification defines that gradient color stop position is a <length> and in the CSS Values spec it's specified that calc() should be allowed anywhere that <length> values are allowed. However, trying -moz-calc() in -moz-linear-gradient() fails to even get parsed, as the testcase demonstrates.

Reproducible: Always
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.