Bug 125874 - Subpixel layout: LayoutUnit(float value) needs floored snapping to CSS pixel unit (bugs.webkit.org).
Summary: Subpixel layout: LayoutUnit(float value) needs floored snapping to CSS pixel ...
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:
 
Reported: 2013-12-17 14:58 PST by zalan
Modified: 2014-01-19 13:34 PST (History)
4 users (show)

See Also:


Attachments
test case (152 bytes, text/html)
2013-12-17 14:58 PST, zalan
no flags Details
test case (215 bytes, text/html)
2013-12-20 15:15 PST, zalan
no flags Details
screenshot(bugs.webkit.org) (117.78 KB, image/gif)
2013-12-20 15:15 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-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)