Bug 126048

Summary: Subpixel layout: Content gets pushed off by one pixel on Amazon.com
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: hyatt, jonlee, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
test case
none
screenshot(amazon) none

Description zalan 2013-12-19 21:18:44 PST
Created attachment 219726 [details]
test case

The following content produces an off-by-one pixel issue when subpixel is enabled.

<html>
<head>
<style type="text/css">
  div {
    display: inline-block;
  }

  span {
    display: inline-block;
    margin: .385em;
  }

  body {
    font-size: 13px;
    font-family: Arial,sans-serif;
  }

  </style>
</head>
<body>
<div>
  <span></span><span></span>foo
</div>
<div>foobar</div>
</body>
</html>
Comment 1 zalan 2013-12-19 21:21:01 PST
<rdar://problem/15706040>
Comment 2 zalan 2013-12-19 21:23:04 PST
Created attachment 219727 [details]
screenshot(amazon)

anim gif to demonstrate the off-by-one pixel issue on amazon.com
Comment 3 zalan 2013-12-27 17:55:52 PST
This is the combination of bug 125911 and bug 125829
Comment 4 zalan 2013-12-27 17:56:21 PST

*** This bug has been marked as a duplicate of bug 125829 ***