Bug 111705

Summary: CSS Column height incorrectly set when only 1 column
Product: WebKit Reporter: Andi Smith <andi.smith.uk+webkit>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: bfulgham
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.7   
URL: http://jsfiddle.net/andismith/dNSK9/

Andi Smith
Reported 2013-03-07 03:24:31 PST
When using -webkit-column-count: 2 with an unordered list, if you set an height property on your list item, it will not be respected for lists with only 1 item; but it will work for lists with more than 1 item. See JSFiddle for demo. - http://jsfiddle.net/andismith/dNSK9/ Steps to reproduce: - Create an unordered list with 2 items - Add -webkit-column-count: 2 to the UL - Add a height to the LI (large heights work better for debugging) - Load and observe the height is as specified. - Remove one of the LI items - Reload and observe the height is no longer correct. Expected Behaviour: - Single list item maintains correct height. Actual Behaviour - Single list item ignores height. Build Dates: Occurs on Mac in Chrome 25, Chrome Canary 27, Safari 6, Webkit Nightly (7th March 2013)
Attachments
Brent Fulgham
Comment 1 2022-07-13 14:20:21 PDT
Safari and Chrome handle this the same way. Gecko doesn't seem to support the column feature. I don't believe any issue remains.
Note You need to log in before you can comment on or make changes to this bug.