[CSS21] Overflow and clipping area.

As stated in http://www.w3.org/TR/CSS21/visufx.html#overflow

"Whenever overflow occurs, the 'overflow' property specifies whether a box
is clipped to its content box, and if so, whether a scrolling mechanism is
provided to access any clipped out content. "

IE/win32, Gecko and Opera all together do not follow this. They use content
box plus padding area as a clipping rectangle.

Given the example and considering "clipped to its content box" statement
.scrollable
{
    padding: 10px;
    overflow: auto;
    width:100px; height:100px;
    border: 1px solid black;
}
size of clipped rectangle should be 100px * 100px (minus scrollbars), right?

In IE/win32, Gecko and Opera size of clipping area is 120px * 120px.

Who will win - UAs all together or the specification?

Andrew Fedoniouk.
http://terrainformatica.com

Received on Sunday, 18 July 2004 03:24:37 UTC