WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
111705
CSS Column height incorrectly set when only 1 column
https://bugs.webkit.org/show_bug.cgi?id=111705
Summary
CSS Column height incorrectly set when only 1 column
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
Add attachment
proposed patch, testcase, etc.
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.
Top of Page
Format For Printing
XML
Clone This Bug