Bug 22088

Summary: [Transforms] Rotation transition leaves behind garbage and renders incorrectly
Product: WebKit Reporter: Chris Marrin <cmarrin>
Component: CSSAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: OS X 10.5   
Attachments:
Description Flags
testcase showing bug
none
Patch, testcase, changelog koivisto: review+

Description Chris Marrin 2008-11-05 14:41:18 PST
Using WebKit nightlies r38068. Open the attached testcase and hover over the outlined box. The boxes rotate, but leave behind cruft and are rendered incorrectly when they get to their rotated state.
Comment 1 Chris Marrin 2008-11-05 14:42:13 PST
Created attachment 24919 [details]
testcase showing bug
Comment 2 Eric Bailey 2008-11-24 23:08:43 PST
Here's another test case which is similar to the reported bug:
http://homepage.mac.com/ebailey/webkit/exp7/index.html

Artifacts can be seen in the reflection after a 10 degree rotation.  These artifacts appear in all cases except when not rotated.
Comment 3 Simon Fraser (smfr) 2008-11-25 16:06:17 PST
The first testcase mostly works, but there are still some jaggies left around.

The second testcase is a separate issue; please file another bug.
Comment 4 Simon Fraser (smfr) 2008-12-06 22:06:04 PST
Created attachment 25826 [details]
Patch, testcase, changelog
Comment 5 Simon Fraser (smfr) 2008-12-06 22:15:48 PST
Committed r39078
	M	WebCore/ChangeLog
	M	WebCore/rendering/RenderObject.cpp
	A	LayoutTests/platform/mac/fast/repaint/transform-repaint-descendants-expected.png
	A	LayoutTests/platform/mac/fast/repaint/transform-repaint-descendants-expected.checksum
	A	LayoutTests/platform/mac/fast/repaint/transform-repaint-descendants-expected.txt
	M	LayoutTests/ChangeLog
	A	LayoutTests/fast/repaint/transform-repaint-descendants.html
r39078 = c7cac524ee5576a4ce13f247ec857214e20cbde5 (trunk)