Bug 125673 - Subpixel layout: <li> element is not sized properly when it is placed inside an inline-block <ul>
Summary: Subpixel layout: <li> element is not sized properly when it is placed inside ...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: zalan
URL:
Keywords: InRadar
Depends on:
Blocks: 126283
  Show dependency treegraph
 
Reported: 2013-12-12 20:20 PST by zalan
Modified: 2014-01-19 17:37 PST (History)
4 users (show)

See Also:


Attachments
test case (348 bytes, text/html)
2013-12-12 20:20 PST, zalan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description zalan 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>
Comment 1 zalan 2013-12-12 20:26:09 PST
<rdar://problem/15653832>
Comment 2 zalan 2014-01-19 17:37:07 PST
We match FF (v26) rendering.