I have an outer div with
overflow: hidden;
(this is given by my framework) and I am trying to override this in a specific case by giving a more specific CSS rule with
overflow-y: visible;
However, the result (FF & Chrome) is that the overflow-y gets computed to "auto", which seems to result in "scroll". So a scrollbar appears.
<div id="big" class="hider">
<div id="long"></div>
</div>
.hider {
overflow: hidden;
}
/* this should override the .hider CSS, but instead you get a scrollbar */
div#big {
overflow-y: visible;
}
This is illustrated in a fiddle here http://jsfiddle.net/needlethread/4j55aqkp/
I would expect it to be either "hidden" or "visible" dependent on which CSS rule won, so where does the auto come from?