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

resize issue on Safari 8.02 OSX #25

Closed
christophercomis opened this issue Dec 18, 2014 · 2 comments
Closed

resize issue on Safari 8.02 OSX #25

christophercomis opened this issue Dec 18, 2014 · 2 comments

Comments

@christophercomis
Copy link

I am planning on using your grid for responsive site and I have noticed that when I resize the window in Safari 8.02 there is a flickering of the formatting. It occurs from 640px to 755px then stabilizes and begins again at 1150px to 1240px. I've tried to do some troubleshooting but I've been unable to remedy it. It does not happen with Firefox or Chrome.

Any input you have would be very much appreciated. Thanks for putting together the tutorial to jumpstart responsive design.

--- I isolated the issue. It seemed to be related to the use of percentages to calculate the fonts
@media (min-width: 40rem) {
html { font-size: 112%; }
}

@media (min-width: 64rem) {
html { font-size: 120%; }
}
When I removed this bid of code the problem disappeared.

@samsonjs
Copy link

I ran into the same issue but haven't managed to get an acknowledgment about it from the WebKit folks. https://bugs.webkit.org/show_bug.cgi?id=rem-resize-jank

Workaround:

when I define the font sizes on the body element instead of the html element, no such flicker occurs. You can see that in action at http://samhuri.net.

@aekaplan
Copy link
Owner

aekaplan commented Jan 5, 2015

Yeah it's a bug in Safari :(

@aekaplan aekaplan closed this as completed Jan 5, 2015
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

3 participants