The CSS Shapes spec (http://dev.w3.org/csswg/css-shapes/#shapes-from-image) implies that an image's shape may be scaled and translated relative to the original image and the origin: "The image is sized and positioned as if it were a replaced element with a specified width and height of the element's used content-box size." The current implementation defines the shape in terms of the image's native resolution and the origin of the content box.
Created attachment 221886 [details] Patch Implement image valued shape-outside scaling and translation per the spec, http://dev.w3.org/csswg/css-shapes/#shapes-from-image: "The image is sized and positioned as if it were a replaced element whose specified width and height are the same as the elements used content box size." This change doesn't completely fulfill the spec, it's limited to image elements and shape-outside.
Created attachment 221921 [details] Patch Just a cosmetic change - removed the createRasterShape() local image variable definition, since it's only used once.
Created attachment 221936 [details] Patch Use RenderImage instead of RenderReplaced in getImageRect() (ShapeInfo.cpp).
Comment on attachment 221936 [details] Patch r=me
Comment on attachment 221936 [details] Patch Clearing flags on attachment: 221936 Committed r162659: <http://trac.webkit.org/changeset/162659>
All reviewed patches have been landed. Closing bug.