Bug 14137 - box-shadow on element inside multi-column doesn't draw outside column boundary
Summary: box-shadow on element inside multi-column doesn't draw outside column boundary
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 523.x (Safari 3)
Hardware: PC Windows 2000
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2007-06-14 06:34 PDT by Andrew Stibbard
Modified: 2023-01-23 16:20 PST (History)
8 users (show)

See Also:


Attachments
Testcase for box-shadow boundary on elements in multi-column (1.50 KB, text/html)
2007-06-14 06:36 PDT, Andrew Stibbard
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Stibbard 2007-06-14 06:34:50 PDT
If box-shadow is applied to an element inside a CSS multi-column, the shadow is cut off at the column's boundary.

Testcase to follow demonstrating box-shadow working correctly for floated elements but not elements in columns.

Tested on the Windows Safari 3 Beta (522.11.3). Probably not platform specific but I don't have a Mac to test against, sorry.
Comment 1 Andrew Stibbard 2007-06-14 06:36:14 PDT
Created attachment 15018 [details]
Testcase for box-shadow boundary on elements in multi-column
Comment 2 Matt Lilek 2007-06-14 11:22:07 PDT
I believe this is part of the "layers ignore columns" problem.
Comment 3 Dave Hyatt 2007-06-14 12:29:21 PDT
No, this is just a clipping problem.  At one point the spec said to treat overflow like it was hidden on columns.  I don't think it says that now though.
Comment 4 Radar WebKit Bug Importer 2016-06-02 17:07:03 PDT
<rdar://problem/26613471>
Comment 5 Jen Simmons 2016-06-08 05:28:12 PDT
Yes, I find this quite frustrating. 

Here's an example: http://labs.jensimmons.com/examples/image-gallery-multicolumn.html
See how all the shadows from the top of the boxes are placed in the bottom of the previous column? And how the shadow from the bottom if the box of the longest column is placed at the top of the previous column? Bug. 

Here's a photo to be more obvious: https://monosnap.com/file/wCjt9v38xTPPTmGQJ8t42jvEgqioEM.png

It's one of the many little multicolumn bugs that prevent people from trusting or using multicolumn.

This happens in Mac Safari, iOS Safari, and Chrome (old webkit).
Comment 6 Brandon McConnell 2023-01-23 16:20:02 PST
It appears this now fixed in Chrome and Firefox, probably due to recent updates, as it was still broken in all browsers (IIRC) just a couple of years ago.

https://labs.jensimmons.com/2016/examples/image-gallery-multicolumn.html

Screenshots for all three can be found here, and each is labeled with the name of the browser from which the screenshot was taken: https://imgur.com/a/HJBUiZW

This is using Safari Technology Preview Release 161 (Safari 16.4, WebKit 18615.1.17.6)