David Armstrong wrote:
If there are any developers of the browser out there I've noticed a weird occurance of two vertical scrollbars appearing in Mozilla 1.4 and Firebird 0.6.1+ when accessing the website http://www.htfr.com/.
I see it in Mozilla 1.5b on Win2k as well.
It is due to the overflow:auto on the body.page rule in <http://www.htfr.com/css/xml.css>.
CSS 2.1 says <http://www.w3.org/TR/CSS21/visufx.html#propdef-overflow>
<quote>
auto
The behavior of the 'auto' value is user agent-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes.
</quote>
and
<quote>
HTML UAs may apply the overflow property from the BODY or HTML elements to the viewport.
</quote>
Seems to me that we don't apply the overflow from the BODY to the viewport. I've seen several other evangelism bugs on this type of behavior, but can't say why we don't.
There are two cases I know of when we won't apply the BODY overflow value to the viewport.
1) When the style is set dynamically; this is a bug
2) When the HTML element has overflow other than 'visible'
I think the latter case is not really a bug, it's the only logical thing to do, especially if for example if HTML is 'overflow:scroll' and BODY is 'overflow:auto'.
Rob
