Bug 125673

Summary: Subpixel layout: <li> element is not sized properly when it is placed inside an inline-block <ul>
Product: WebKit Reporter: alan <zalan>
Component: Layout and RenderingAssignee: alan <zalan>
Status: RESOLVED INVALID    
Severity: Normal CC: hyatt, jonlee, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 126283    
Attachments:
Description Flags
test case none

alan
Reported 2013-12-12 20:20:03 PST
Created attachment 219146 [details] test case <li> has an extra pixel at the right edge. <html> <head> <style> ul { display: inline-block; } span { border: 1px solid green; } li { border: 1px solid red; margin: 0px; } </style> </head> <body> <ul> <li> <span>there should not be a pixel gap between the green and the red border at the right side. foo.</span> </ul> </body> </html>
Attachments
test case (348 bytes, text/html)
2013-12-12 20:20 PST, alan
no flags
alan
Comment 1 2013-12-12 20:26:09 PST
alan
Comment 2 2014-01-19 17:37:07 PST
We match FF (v26) rendering.
Note You need to log in before you can comment on or make changes to this bug.