Skip to content

Scientific notation should be supported for numbers/percentages/dimensions #2465

@ThomasBrierley

Description

@ThomasBrierley

Input

foo {
  a: 1e1px;
  b: 1e-1px;
}

LibSass 3.5.0-beta.2

Error: Incompatible units: 'px' and 'e'.
        on line 3 of test.scss
>>   b: 1e-1px;

Sass 3.5.1 (Bleeding Edge)

foo {
  a: 1e1px;
  b: 1e-1px; }

Version info

$ node-sass --version
node-sass       4.5.3   (Wrapper)       [JavaScript]
libsass         3.5.0.beta.2    (Sass Compiler) [C/C++]

Spec sass/sass-spec#1163

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions