Bug 125874

Summary: Subpixel layout: LayoutUnit(float value) needs floored snapping to CSS pixel unit (bugs.webkit.org).
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <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   
Attachments:
Description Flags
test case
none
test case
none
screenshot(bugs.webkit.org) none

Description zalan 2013-12-17 14:58:22 PST
Created attachment 219456 [details]
test case

Atm, I can only repro this after implementing the fix for Bug 125829. I'll update this report with a test case that repro by simply turning subpixel on. (not requiring other changes)

<html>
<head>
<style>
    .links {
        font-size: 99%;
        padding: 10px;
    }
</style>
</head>
<body><ul class="links"></ul>foo</body>
</html>
Comment 1 zalan 2013-12-17 15:00:18 PST
<rdar://problem/15683684>
Comment 2 zalan 2013-12-17 15:46:47 PST
This and Bug 125829 are more like placeholders to discuss the rounding strategy (if needed at all)
Comment 3 Simon Fraser (smfr) 2013-12-18 11:38:05 PST
Same situation as bug 125757.
Comment 4 zalan 2013-12-20 15:15:13 PST
Created attachment 219801 [details]
test case

observed on bugs.webkit.org
Comment 5 zalan 2013-12-20 15:15:55 PST
Created attachment 219802 [details]
screenshot(bugs.webkit.org)