[Webkit-unassigned] [Bug 146273] New: Subpixel rendering: pixel snapping rounds to wrong position.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 23 20:16:46 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=146273
Bug ID: 146273
Summary: Subpixel rendering: pixel snapping rounds to wrong
position.
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: zalan at apple.com
RenderLayer::paintForegroundForFragmentsWithPhase() gets a fragment with a foregroundRect of, say:
(WebCore::LayoutRect) $23 = (m_location = { x = -96452px (-6172928), y = 0px (0) }, m_size = { width = 146px (9344), height = 310px (19840) })
where -96452 is the left edge of the layer (negative, because we're in vertical-rl content).
snapRectToDevicePixels() is converting that to:
(const WebCore::FloatRect) $24 = {
m_location = (m_x = -96451.5, m_y = 0)
m_size = (m_width = 146, m_height = 310)
}
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150624/ceb8ba07/attachment.html>
More information about the webkit-unassigned
mailing list