Bug 20464 - matrix returned from getComputedStyle().webkitTransform should not contain transform-origin
Summary: matrix returned from getComputedStyle().webkitTransform should not contain tr...
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Simon Fraser (smfr)
Depends on:
Reported: 2008-08-20 13:57 PDT by Simon Fraser (smfr)
Modified: 2008-08-20 14:57 PDT (History)
1 user (show)

See Also:

Testcase (2.44 KB, text/html)
2008-08-20 14:22 PDT, Simon Fraser (smfr)
no flags Details
Patch, testcase, changelog (7.62 KB, patch)
2008-08-20 14:52 PDT, Simon Fraser (smfr)
hyatt: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 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.
Comment 1 Simon Fraser (smfr) 2008-08-20 14:22:53 PDT
Created attachment 22900 [details]
Comment 2 Simon Fraser (smfr) 2008-08-20 14:52:51 PDT
Created attachment 22901 [details]
Patch, testcase, changelog
Comment 3 Dave Hyatt 2008-08-20 14:54:06 PDT
Comment on attachment 22901 [details]
Patch, testcase, changelog

Comment 4 Simon Fraser (smfr) 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)