Bug 23765

Summary: Return correct computed style during accelerated animations
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: CSSAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: cmarrin
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Macintosh   
OS: OS X 10.5   
Bug Depends on:    
Bug Blocks: 23359    
Attachments:
Description Flags
Patch, changelog
none
Revised patch hyatt: review+

Description Simon Fraser (smfr) 2009-02-05 11:46:20 PST
If you request the value of opacity or transform while they are being acceler-animated, we need to return the correct value.
Comment 1 Simon Fraser (smfr) 2009-02-05 13:54:11 PST
Created attachment 27362 [details]
Patch, changelog
Comment 2 Dave Hyatt 2009-02-05 14:01:00 PST
Comment on attachment 27362 [details]
Patch, changelog

return renderer && renderer->hasLayer() && toRenderBox(renderer)->layer()->isComposited();

RenderLayer now owns a RenderBoxModelObject and not a RenderBox.  Once RenderInline moves to RenderBox, converting to RenderBox won't be correct
Comment 3 Simon Fraser (smfr) 2009-02-05 15:02:57 PST
Created attachment 27366 [details]
Revised patch
Comment 4 Dave Hyatt 2009-02-05 15:05:41 PST
Comment on attachment 27366 [details]
Revised patch

r=me
Comment 5 Simon Fraser (smfr) 2009-02-05 15:09:05 PST
http://trac.webkit.org/changeset/40685