W3C home > Mailing lists > Public > www-style@w3.org > July 2004

[CSS21] Overflow and clipping area.

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Sun, 18 Jul 2004 00:24:10 -0700
Message-ID: <000701c46c98$38b0b4b0$0301a8c0@ATHLON>
To: <www-style@w3.org>

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
    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.
Received on Sunday, 18 July 2004 03:24:37 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:14 UTC