Bug 27471
Summary: | Translated images are clipped in their renderedImage() | ||
---|---|---|---|
Product: | WebKit | Reporter: | Andy Matuschak <andy> |
Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
Status: | ASSIGNED | ||
Severity: | Normal | CC: | simon.fraser |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | OS X 10.5 |
Andy Matuschak
renderedImage() captures an element's original bounding box when translations are applied via -webkit-transform.
For example, if an element is translated 50px to the left, the resulting image will be missing the left-most 50px, the rest of the element will be shifted over 50px to the left, and the right-most 50px will be blank.
I would expect the renderedImage() to be translation-invariant, since it is supposed to represent the *contents* of the element.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |