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

trunk8 does not reproduce cleared element #46

Open
sergeychernyshev opened this issue May 6, 2014 · 3 comments
Open

trunk8 does not reproduce cleared element #46

sergeychernyshev opened this issue May 6, 2014 · 3 comments

Comments

@sergeychernyshev
Copy link

I'm having an issue with truncating an element that clears parent with "clear: both".
Basically, when placeholder "i" is inserted, it does not behave the same way as original element does and therefore innerHeight() is measured on element that didn't clear making the compared height too high.

@sergeychernyshev
Copy link
Author

Here's the gist illustrating markup
https://gist.github.com/sergeychernyshev/900adc87806925cab133

@rviscomi
Copy link
Owner

I tried to reproduce the issue using your markup in this JSFiddle: http://jsfiddle.net/NaHr7/

Is that close to what you're seeing?

@sergeychernyshev
Copy link
Author

Yes, I believe that's it.

My temporary work-around is to insert an empty div with clear:both on it above the text.

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

2 participants