Bug 101864

Summary: SnapOffsetForTransforms is confusing and should be renamed
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Levi Weintraub <leviw>
Status: RESOLVED INVALID    
Severity: Normal CC: eae, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Simon Fraser (smfr)
Reported 2012-11-11 12:03:30 PST
SnapOffsetForTransforms doens't appear to be anything to do with transforms (since RenderBox::mapLocalToContainer() uses it to round an offset even when no transforms are present. It should be renamed and more clearly documented.
Attachments
Simon Fraser (smfr)
Comment 1 2012-11-12 14:03:46 PST
Levi says this should replicate the same pixel snapping that painting does.
Simon Fraser (smfr)
Comment 2 2012-11-12 14:04:10 PST
Why would any code NOT want paint-like pixel snapping, so why isn't this the default?
Levi Weintraub
Comment 3 2012-12-19 15:08:52 PST
SnapOffsetForTransforms is dead. Woo :)
Note You need to log in before you can comment on or make changes to this bug.