Bug 23582

Summary: Inline with opacity and transform asserts
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: hyatt
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
Patch, changelog, testcases
none
Updated patch, removing isReplica() hyatt: review+

Description Simon Fraser (smfr) 2009-01-27 21:38:46 PST
If an inline element has both a transform, and something that causes it to get a RenderLayer (like opacity), then we hit assertions via RenderLayer because we're trying to compute a borderBoxRect() on an inline while updating the transform.
Comment 1 Simon Fraser (smfr) 2009-01-27 22:14:26 PST
Created attachment 27094 [details]
Patch, changelog, testcases
Comment 2 Simon Fraser (smfr) 2009-01-28 11:11:19 PST
Created attachment 27111 [details]
Updated patch, removing isReplica()
Comment 3 Dave Hyatt 2009-01-28 11:31:20 PST
Comment on attachment 27111 [details]
Updated patch, removing isReplica()

r=me
Comment 4 Simon Fraser (smfr) 2009-01-28 11:41:25 PST
Committing to http://svn.webkit.org/repository/webkit/trunk ...
	M	LayoutTests/ChangeLog
	A	LayoutTests/fast/transforms/transform-on-inline.html
	A	LayoutTests/fast/transforms/transform-table-row.html
	A	LayoutTests/platform/mac/fast/transforms/transform-on-inline-expected.checksum
	A	LayoutTests/platform/mac/fast/transforms/transform-on-inline-expected.png
	A	LayoutTests/platform/mac/fast/transforms/transform-on-inline-expected.txt
	A	LayoutTests/platform/mac/fast/transforms/transform-table-row-expected.checksum
	A	LayoutTests/platform/mac/fast/transforms/transform-table-row-expected.png
	A	LayoutTests/platform/mac/fast/transforms/transform-table-row-expected.txt
	M	WebCore/ChangeLog
	M	WebCore/rendering/RenderBox.cpp
	M	WebCore/rendering/RenderReplica.cpp
	M	WebCore/rendering/RenderTableRow.h
Committed r40318