Substraction inconsistent with negative fractions missing leading zero #1954

Closed
mgreter opened this Issue Jan 6, 2016 · 3 comments

Comments

Projects
None yet
3 participants
@mgreter

mgreter commented Jan 6, 2016

div {
  sub-1: 1em-.75; // 1em- 0.75
  sub-5: 1em-0.75; // 0.25em
  sub-2: 1em -.75; // 1em -.75
  sub-6: 1em -0.75; // 1em -0.75
  sub-3: 1em- .75; // 1em- .75
  sub-7: 1em- 0.75; // 1em- 0.75
  sub-4: 1em - .75; // 0.25em
  sub-8: 1em - 0.75; // 0.25em
}

The differences between sub-1 and sub-5 seem wrong. IMO sub-1 should be evaluated too.

@chriseppstein

This comment has been minimized.

Show comment
Hide comment
@chriseppstein

chriseppstein Jan 6, 2016

Member

IMO sub-1 should be evaluated too.

See #1912.

The differences between sub-1 and sub-5 seem wrong.

Agree. I don't know why sub-5 isn't the same output as sub-1. Perhaps @nex3 does.

Member

chriseppstein commented Jan 6, 2016

IMO sub-1 should be evaluated too.

See #1912.

The differences between sub-1 and sub-5 seem wrong.

Agree. I don't know why sub-5 isn't the same output as sub-1. Perhaps @nex3 does.

@nex3

This comment has been minimized.

Show comment
Hide comment
@nex3

nex3 Jan 8, 2016

Contributor

That's just an oversight. We have a special-case check for the next character being a digit, but we should also have one for a dot followed by a digit.

Contributor

nex3 commented Jan 8, 2016

That's just an oversight. We have a special-case check for the next character being a digit, but we should also have one for a dot followed by a digit.

@nex3 nex3 added the Bug label Jan 8, 2016

@nex3 nex3 closed this in fe0f13e Jan 8, 2016

@mgreter

This comment has been minimized.

Show comment
Hide comment
@mgreter

mgreter Jan 9, 2016

👍 thanks

mgreter commented Jan 9, 2016

👍 thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment