Bug 117395

Summary: [CSSRegions] ASSERTION FAILED: roundedIntPoint(rendererMappedResult) == roundedIntPoint(result) in RenderGeometryMap::mapToContainer
Product: WebKit Reporter: Mihnea Ovidenie <mihnea>
Component: CSSAssignee: Mihnea Ovidenie <mihnea>
Status: RESOLVED FIXED    
Severity: Normal CC: abrhm, achicu, commit-queue, esprehn+autocc, glenn, simon.fraser, WebkitBugTracker
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch 2
none
Patch for landing none

Description Mihnea Ovidenie 2013-06-10 00:58:29 PDT
RenderNamedFlowThread layers should not be composited and their collected children layers should be inspected by means of their associated regions.
Comment 1 Mihnea Ovidenie 2013-06-10 01:03:00 PDT
Created attachment 204140 [details]
Patch
Comment 2 WebKit Commit Bot 2013-06-10 01:05:07 PDT
Attachment 204140 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/fast/regions/assert-flow-thread-compositing-expected.txt', u'LayoutTests/fast/regions/assert-flow-thread-compositing.html', u'Source/WebCore/ChangeLog', u'Source/WebCore/rendering/RenderLayerCompositor.cpp']" exit_code: 1
Source/WebCore/ChangeLog:10:  Line contains tab character.  [whitespace/tab] [5]
Total errors found: 1 in 5 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Mihnea Ovidenie 2013-06-10 03:38:30 PDT
Created attachment 204150 [details]
Patch 2

Add missing bail-out in RenderLayerCompositor::rebuildCompositingLayerTree
Comment 4 Mihnea Ovidenie 2013-06-10 04:49:15 PDT
*** Bug 117404 has been marked as a duplicate of this bug. ***
Comment 5 Alexandru Chiculita 2013-06-10 08:16:22 PDT
Comment on attachment 204150 [details]
Patch 2

View in context: https://bugs.webkit.org/attachment.cgi?id=204150&action=review

r=me, but we should also add a bug to fix the initial assert when proper compositing is implemented.

> LayoutTests/fast/regions/assert-flow-thread-compositing.html:5
> +            .transformed { width: 50px; height: 50px; background-color: salmon; -webkit-transform: translateZ(0px); border: 1px solid black; }

nit: just use green instead of salmon :)

> Source/WebCore/rendering/RenderLayerCompositor.cpp:926
> +        layer->setHasCompositingDescendant(false);

nit: I think you don't need this, it's false by default. We are going to fix it for 84900 anyway.
Comment 6 Mihnea Ovidenie 2013-06-10 08:56:45 PDT
Created attachment 204167 [details]
Patch for landing
Comment 7 WebKit Commit Bot 2013-06-10 09:27:51 PDT
Comment on attachment 204167 [details]
Patch for landing

Clearing flags on attachment: 204167

Committed r151396: <http://trac.webkit.org/changeset/151396>
Comment 8 WebKit Commit Bot 2013-06-10 09:27:54 PDT
All reviewed patches have been landed.  Closing bug.