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

frame width/height and box-sizing #46

Open
thomashandorf opened this issue Nov 24, 2016 · 2 comments
Open

frame width/height and box-sizing #46

thomashandorf opened this issue Nov 24, 2016 · 2 comments

Comments

@thomashandorf
Copy link
Member

the frame width is calculated wrongly if paddings and borders are applied. This could in principle be fixed by setting border-box on all frames but this may have impact on the users css code. so ideally calcFrameTransform will detect which box sizing is in effect and will use the right width/height anyway.

@kennytordeur
Copy link
Contributor

Maybe it would be better if the width() and height() methodes detect this automatically.

@thomashandorf
Copy link
Member Author

yes, makes sense

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

No branches or pull requests

2 participants