Bug 20464

Summary: matrix returned from getComputedStyle().webkitTransform should not contain transform-origin
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: dino
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
Testcase
none
Patch, testcase, changelog hyatt: review+

Simon Fraser (smfr)
Reported 2008-08-20 13:57:13 PDT
The matrix() returned by getComputedStyle().webkitTransform has the transform origin in it, which is, I think, incorrect. It should be possible to assign the result of getComputedStyle().webkitTransform back to element.style.webkitTransform and not have the element move.
Attachments
Testcase (2.44 KB, text/html)
2008-08-20 14:22 PDT, Simon Fraser (smfr)
no flags
Patch, testcase, changelog (7.62 KB, patch)
2008-08-20 14:52 PDT, Simon Fraser (smfr)
hyatt: review+
Simon Fraser (smfr)
Comment 1 2008-08-20 14:22:53 PDT
Created attachment 22900 [details] Testcase
Simon Fraser (smfr)
Comment 2 2008-08-20 14:52:51 PDT
Created attachment 22901 [details] Patch, testcase, changelog
Dave Hyatt
Comment 3 2008-08-20 14:54:06 PDT
Comment on attachment 22901 [details] Patch, testcase, changelog r=me
Simon Fraser (smfr)
Comment 4 2008-08-20 14:57:43 PDT
Committed r35862 M WebCore/rendering/style/RenderStyle.cpp M WebCore/rendering/style/RenderStyle.h M WebCore/ChangeLog M WebCore/css/CSSComputedStyleDeclaration.cpp M LayoutTests/ChangeLog r35862 = be1d24c242df001aa5ff47bc008712a76460dd98 (trunk)
Note You need to log in before you can comment on or make changes to this bug.