Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Width with no Height attribute does not retain current height or position; makes it -0.1 #12

Open
tayro opened this issue Aug 9, 2015 · 0 comments

Comments

@tayro
Copy link

tayro commented Aug 9, 2015

image

Steps to repro:

  • Make a box; for example, 100x100 dimensions positioned at the center of an artboard
  • Add a class that only has a Width rule; for example, width:50
  • Calculate layout; the box will move to x/y 0 with a height of -0.1 and width of 50

The behavior I expected was that the CSS would only modify the Width property of the box. Thus, the box would have width:50, height: 100, and be at the same position.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant