User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:126.96.36.199) Gecko/20060731 Ubuntu/dapper-security Firefox/188.8.131.52 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:184.108.40.206) Gecko/20060731 Ubuntu/dapper-security Firefox/220.127.116.11 Setting style="overflow-x:hidden; overflow-y:visible" works like style="overflow-x:hidden; overflow-y:auto" The "hidden, visible" test case in bug 72747 already demonstrated this issue. See https://bugzilla.mozilla.org/attachment.cgi?id=156617 Reproducible: Always
The summary was wrong, but the problem is actually symmetric.
Summary: overflow-x:hidden; overflow-y:visible does not work as expected → overflow-x:visible; overflow-y:hidden does not work as expected
This is not a bug. I'm not sure where it's specified, but 'visible' only works if you specify it in both directions.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → INVALID
(In reply to Robert O'Callahan (:roc) (Mozilla Corporation) from comment #3) > This is not a bug. I'm not sure where it's specified, but 'visible' only > works if you specify it in both directions. Please provide reference to the CSS spec where you see this rule.
The spec does specify that if an overflow axis is set to either 'auto' or 'scroll' then setting the other axis to 'visible' is not possible: http://dev.w3.org/csswg/css-box/#collapse-scroll > The computed values of ‘overflow-x’ and ‘overflow-y’ are the same as their specified values, except that some combinations with ‘visible’ are not possible: if one is specified as ‘visible’ and the other is ‘scroll’ or ‘auto’, then ‘visible’ is set to ‘auto’. But that doesn't explain why 'hidden' would be preventing the other axis from being 'visible'.
Thae spec should prevent visible+hidden as well. Other browsers agree on this.
The spec wording in css3-box hasn't been agreed to by other members of the CSS Working Group. This matches what I specified in http://dev.w3.org/csswg/css-overflow/#overflow-properties . Though the working group hasn't agreed to that either... though I think we might have informally about 10 years ago.
Component: Layout: View Rendering → Layout: Web Painting
Product: Core → Core
You need to log in before you can comment on or make changes to this bug.