Sample URL pulled from blog comments. If the rotating graphic is selected, a selection highlight "smears" around the edges as it rotates.
Testcase (http://picknewtemplate.blogspot.com/2007/10/webkit-gets-element-transforms.html) has gone away.
Created attachment 25327 [details] Testcase that works fine
Marking WorksForMe based on testcase.
Created attachment 25343 [details] testcase with rotating replaced content Shows selection smearing in Webkit r38592
The bug only happens when replaced content is rotated -- see new attached test-case.
Thanks for the testcase; it reproduced in TOT. It actually looks like the selection rendering for the replaced element is wrong as soon as the replace element gets a transform. Testcase coming.
Created attachment 25355 [details] Testcase for selection on transformed image
Created attachment 25824 [details] Patch, testcase, changelog
r39072 = 0e9a7ee0d9d8eee03464f6aa301ba2000ab089ca (trunk) M WebCore/ChangeLog M WebCore/rendering/RenderReplaced.cpp A LayoutTests/platform/mac/fast/replaced/selection-rect-transform-expected.png A LayoutTests/platform/mac/fast/replaced/selection-rect-transform-expected.txt A LayoutTests/platform/mac/fast/replaced/selection-rect-transform-expected.checksum M LayoutTests/ChangeLog A LayoutTests/fast/replaced/selection-rect-transform.html r39073 = 41705c6dcf11fb008cdba307fcdc8648d2b5badf (trunk)