Bug 102839 - [CSS Regions] InRenderFlowThread returns false in the first setStyle
Summary: [CSS Regions] InRenderFlowThread returns false in the first setStyle
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alexandru Chiculita
URL:
Keywords: AdobeTracked
Depends on:
Blocks: 57312
  Show dependency treegraph
 
Reported: 2012-11-20 14:40 PST by Alexandru Chiculita
Modified: 2012-12-10 21:58 PST (History)
8 users (show)

See Also:


Attachments
Patch V1 (5.20 KB, patch)
2012-11-20 15:38 PST, Alexandru Chiculita
hyatt: review+
webkit.review.bot: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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

r=me
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:
ml
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.