This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Consider http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3498 <!-- quirks --> <html style="overflow:auto; background:url(image) no-repeat center center"> <body style="overflow:auto; height:1000px;" onload="document.body.scrollTop = 400">x The body doesn't have a scrolling box (since it doesn't overflow, so it doesn't have a scrolling mechanism). So it should scroll the viewport per spec. But Gecko doesn't do that. I think it checks the overflow property without considering if it actually overflows. That seems simpler/better.
https://github.com/w3c/csswg-drafts/commit/b02ad91d090e4518b153bf29582cff50c4472a01