Closed
Bug 353599
Opened 18 years ago
Closed 17 years ago
overflow-x:visible; overflow-y:hidden does not work as expected
Categories
(Core :: Web Painting, defect)
Core
Web Painting
Tracking
()
RESOLVED
INVALID
People
(Reporter: siulung, Assigned: roc)
Details
Attachments
(1 file)
667 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060731 Ubuntu/dapper-security Firefox/1.5.0.5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060731 Ubuntu/dapper-security Firefox/1.5.0.5
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
Assignee | ||
Comment 3•17 years ago
|
||
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
Closed: 17 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'.
Assignee | ||
Comment 6•12 years ago
|
||
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.
Updated•6 years ago
|
Component: Layout: View Rendering → Layout: Web Painting
You need to log in
before you can comment on or make changes to this bug.
Description
•