Closed Bug 372053 Opened 17 years ago Closed 11 years ago

[columns] clip column box overflow (or not?)

Categories

(Core :: Layout: Block and Inline, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: MatsPalmgren_bugz, Unassigned)

References

Details

(Keywords: css3, testcase, Whiteboard: [csswg][css3-multicol])

The "CSS3 module: Multi-column layout" spec crrently says that
column box overflow should be clipped (2nd paragraph):
"Content that extend outside the column box ... is clipped. 
... as if the column box had 'overflow:hidden'"
http://www.w3.org/TR/css3-multicol/#the-multi-column

We currently render it as if 'overflow:visible'.
This bug is for tracking this issue, whether the implementation should be
changed to match the spec or vice versa.

Testcase in bug 370974:  attachment 255789 [details]

FWIW, a 2007-02-27 Webkit nightly implements it as 'overflow:hidden'.
I think that part of the spec is broken; it's actually been discussed in the WG recently, although there's not a conclusion yet.
Personally, I think it would make sense to introduce a new property, e.g 'column-overflow', to allow it to be specified. And that the default
should be 'visible' as it is for 'overflow'.

But why introduce all these special column-* properties? why not allow
styling the columns directly using pseudo elements, e.g. ::column(0)
I saw that column clipping came up [1] in the discussion on multi-column
floats in the [css3-gcpm] spec and again I think it supports the position
that the default should be overflow, not hidden.

[1] http://lists.w3.org/Archives/Public/www-style/2007May/0014.html
[css3-gcpm] http://www.w3.org/TR/2006/WD-css3-gcpm-20060919/
Whiteboard: [csswg]
Whiteboard: [csswg] → [csswg][css3-multicol]
See also https://bugzilla.mozilla.org/show_bug.cgi?id=531791 “Overflows of non-floated elements not being clipped within -moz-column”

Also, WebKit clips at *column gap edge*, not column box edge as spec states.
The working group resolved that columns shouldn't clip:
http://krijnhoetmer.nl/irc-logs/css/20130911#l-950
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.