Bug 102839

Summary: [CSS Regions] InRenderFlowThread returns false in the first setStyle
Product: WebKit Reporter: Alexandru Chiculita <achicu>
Component: Layout and RenderingAssignee: Alexandru Chiculita <achicu>
Severity: Normal CC: donggwan.kim, hyatt, mibalan, mihnea, ojan, s.choi, WebkitBugTracker, webkit.review.bot
Priority: P2 Keywords: AdobeTracked
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 57312    
Description Flags
Patch V1 hyatt: review+, webkit.review.bot: commit-queue-

Description Alexandru Chiculita 2012-11-20 14:40:00 PST
NodeRendererFactory::createRenderer calls setAnimatableStyle on the new renderer before it is attached to its parent. Because of that some RenderObjects will be tricked into thinking that the element is not part of the RenderFlowThread and for example create a composited layer when it is not supported.
Comment 1 Alexandru Chiculita 2012-11-20 15:38:00 PST
Created attachment 175292 [details]
Patch V1
Comment 2 Dave Hyatt 2012-11-27 14:15:33 PST
Comment on attachment 175292 [details]
Patch V1

Comment 3 WebKit Review Bot 2012-11-27 14:22:47 PST
Comment on attachment 175292 [details]
Patch V1

Rejecting attachment 175292 [details] from commit-queue.

Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2

Last 500 characters of output:
patching file LayoutTests/fast/repaint/region-painting-composited-element.html
patching file Source/WebCore/ChangeLog
Hunk #1 succeeded at 1 with fuzz 3.
patching file Source/WebCore/dom/NodeRenderingContext.cpp
Hunk #1 FAILED at 209.
1 out of 1 hunk FAILED -- saving rejects to file Source/WebCore/dom/NodeRenderingContext.cpp.rej

Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', u'--force', u'--reviewer', u'David Hyatt']" exit_code: 1 cwd: /mnt/git/webkit-commit-queue

Full output: http://queues.webkit.org/results/15028127
Comment 4 Alexandru Chiculita 2012-11-28 11:56:34 PST
Landed manually in http://trac.webkit.org/changeset/136037.