[Webkit-unassigned] [Bug 78379] REGRESSION (r100949): List items are rendered with incorrect height at bu.edu

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 14 08:06:33 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=78379





--- Comment #5 from alheureux at gmail.com  2012-02-14 08:06:33 PST ---
(In reply to comment #4)
> (In reply to comment #3)
> > I'm curious what from that bug is the duplicate here. The markup of the example given here does not include any empty elements. Is it more that the solution for the other bug solves this problem?
> 
> Here is a reduction:
> 
> <!DOCTYPE html>
> <style>
> #list {border-bottom:1px dotted; border-top:1px dotted;}
> #list li {display:inline; line-height:1.3em;}
> #list li span {display:block; border-bottom:1px dotted; border-top:1px dotted;}
> </style>
> <body>
> <ul id="list">
>   <li>
>     <span>Item One</span>
>   </li>
>   <li>
>     <span>Item Two</span>
>   </li>
> </ul>
> </body>
> </html>
> 
> There's an extra empty linebox getting created for each list-item in WebKit. This should only get created if you put some text after the </span> tag - bug 76465 fixes this by avoiding the creation that line box unless there *is* some text.

Thanks very much Robert, I get it now. Here's to hoping it finds its way to Chrome soon and that Safari misses it =\

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list