Bug 101864
Summary: | SnapOffsetForTransforms is confusing and should be renamed | ||
---|---|---|---|
Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
Component: | Layout and Rendering | Assignee: | 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)
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Simon Fraser (smfr)
Levi says this should replicate the same pixel snapping that painting does.
Simon Fraser (smfr)
Why would any code NOT want paint-like pixel snapping, so why isn't this the default?
Levi Weintraub
SnapOffsetForTransforms is dead. Woo :)