Remove `html {overflow-y:scroll}` due to Firefox bugs #918

Closed
necolas opened this Issue Jan 17, 2012 · 7 comments

Comments

Projects
None yet
7 participants
@necolas
Owner

necolas commented Jan 17, 2012

Problems with Firefox and JavaScript calculations or modifications have been brought up a number of times at the normalize.css repo:

necolas/normalize.css#71
necolas/normalize.css#65
necolas/normalize.css#64

I think we should consider removing the offending code. There is no simple, viable alternative to setting this scroll property on the html element and it isn't really needed.

@nimbupani

This comment has been minimized.

Show comment Hide comment
@nimbupani

nimbupani Jan 17, 2012

Member

+1 this was useful for pixel perfect designs, but we definitely dont advocate that any more.

Member

nimbupani commented Jan 17, 2012

+1 this was useful for pixel perfect designs, but we definitely dont advocate that any more.

@paulirish

This comment has been minimized.

Show comment Hide comment
@paulirish

paulirish Jan 17, 2012

Owner

i do really like this trick and it's come in useful...

but to me you're building a site or an app. apps are fullscreen and shouldnt have a scrollbar.
sites are long pages and definitely should have a scrollbar.

there isnt much of a place for pages that are shorter than the browser window, i'd say.

that's why i'm +1 on this.

Owner

paulirish commented Jan 17, 2012

i do really like this trick and it's come in useful...

but to me you're building a site or an app. apps are fullscreen and shouldnt have a scrollbar.
sites are long pages and definitely should have a scrollbar.

there isnt much of a place for pages that are shorter than the browser window, i'd say.

that's why i'm +1 on this.

@ghost ghost assigned necolas Jan 18, 2012

@Matt-Deacalion

This comment has been minimized.

Show comment Hide comment
@Matt-Deacalion

Matt-Deacalion Jan 20, 2012

I really like html {overflow-y:scroll}. Call me a stickler, but I hate the jerky movement when I'm going through a site from one long page to a short one and the scrollbar keeps flickering on and off.

I really like html {overflow-y:scroll}. Call me a stickler, but I hate the jerky movement when I'm going through a site from one long page to a short one and the scrollbar keeps flickering on and off.

@mathiasbynens

This comment has been minimized.

Show comment Hide comment
@mathiasbynens

mathiasbynens Jan 22, 2012

Owner

Sounds like something that could be removed + documented in the wiki?

Owner

mathiasbynens commented Jan 22, 2012

Sounds like something that could be removed + documented in the wiki?

@addyosmani

This comment has been minimized.

Show comment Hide comment
@addyosmani

addyosmani Jan 22, 2012

Contributor

I'm with Mathias on this one. I think removing and doc'ing would be the way to go.

Contributor

addyosmani commented Jan 22, 2012

I'm with Mathias on this one. I think removing and doc'ing would be the way to go.

@necolas necolas closed this in 5c02f40 Jan 22, 2012

@bryandowning

This comment has been minimized.

Show comment Hide comment
@bryandowning

bryandowning May 7, 2012

Note that the docs still reference the overflow-y property on html. http://html5boilerplate.com/docs/The-style/

Note that the docs still reference the overflow-y property on html. http://html5boilerplate.com/docs/The-style/

@necolas

This comment has been minimized.

Show comment Hide comment
@necolas

necolas May 7, 2012

Owner

This is where the up-to-date CSS docs are - http://html5boilerplate.com/docs/css/

Owner

necolas commented May 7, 2012

This is where the up-to-date CSS docs are - http://html5boilerplate.com/docs/css/

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