RESOLVED INVALID 54507
center an image inside a list does not render as expected with proper DOCTYPE
https://bugs.webkit.org/show_bug.cgi?id=54507
Summary center an image inside a list does not render as expected with proper DOCTYPE
Franco
Reported 2011-02-15 15:59:53 PST
I'm using -webkit-box-align: center to vertically center an image inside a div. It works, but as soon as the div with the image inside is wrapped by an li element the vertical alignment changes. With exactly the same HTML/CSS but without a DOCTYPE declaration (I guess the browser falls back to quirks mode) the image gets aligned as expected.
Attachments
situation (14.97 KB, image/png)
2011-02-15 16:00 PST, Franco
no flags
testcase (18.86 KB, application/zip)
2011-02-15 16:01 PST, Franco
no flags
Franco
Comment 1 2011-02-15 16:00:43 PST
Created attachment 82542 [details] situation
Franco
Comment 2 2011-02-15 16:01:57 PST
Created attachment 82543 [details] testcase
Note You need to log in before you can comment on or make changes to this bug.