Le 2015-03-23 19:20, Gérard Talbot a écrit : > If I set overflow-y to auto, then Chrome 41 shrinks the div#container > width from 100px to 85px without rendering a vertical scrollbar. > Firefox 36.0.4 keeps the width of div#container at 100px and does not > render a vertical scrollbar. Please forget what I wrote there; because of the overlapping green square, we don't see the vertical scrollbar (it is rendered!). And the 100px or 85px depends on the interpretation of this sentence: " Any space taken up by the scrollbars should be taken out of (subtracted from the dimensions of) the containing block formed by the element with the scrollbars. " http://www.w3.org/TR/2011/REC-CSS2-20110607/visufx.html#overflow GérardReceived on Monday, 23 March 2015 23:29:52 UTC
This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:52 UTC