+2010-12-26 Abhishek Arya <inferno@chromium.org>
+
+ Reviewed by Simon Fraser.
+
+ Tests passes if it does not crash.
+ https://bugs.webkit.org/show_bug.cgi?id=48772
+
+ * fast/multicol/renderer-positioned-assert-crash-expected.txt: Added.
+ * fast/multicol/renderer-positioned-assert-crash.html: Added.
+
2010-12-25 Kenneth Russell <kbr@google.com>
Unreviewed, Chromium test expectations update.
+2010-12-26 Abhishek Arya <inferno@chromium.org>
+
+ Reviewed by Simon Fraser.
+
+ Remove the bad assert in paintPaginatedChildLayer, hitTestPaginatedChildLayer.
+ https://bugs.webkit.org/show_bug.cgi?id=48772
+
+ Test: fast/multicol/renderer-positioned-assert-crash.html
+
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::paintPaginatedChildLayer):
+ (WebCore::RenderLayer::hitTestPaginatedChildLayer):
+
2010-12-25 Peter Rybin <peter.rybin@gmail.com>
Reviewed by Adam Barth.
}
void RenderLayer::paintPaginatedChildLayer(RenderLayer* childLayer, RenderLayer* rootLayer, GraphicsContext* context,
- const IntRect& paintDirtyRect, PaintBehavior paintBehavior,
- RenderObject* paintingRoot, OverlapTestRequestMap* overlapTestRequests,
- PaintLayerFlags paintFlags)
+ const IntRect& paintDirtyRect, PaintBehavior paintBehavior,
+ RenderObject* paintingRoot, OverlapTestRequestMap* overlapTestRequests,
+ PaintLayerFlags paintFlags)
{
// We need to do multiple passes, breaking up our child layer into strips.
- ASSERT(!renderer()->isPositioned());
Vector<RenderLayer*> columnLayers;
RenderLayer* ancestorLayer = isNormalFlowOnly() ? parent() : stackingContext();
for (RenderLayer* curr = childLayer->parent(); curr; curr = curr->parent()) {
RenderLayer* RenderLayer::hitTestPaginatedChildLayer(RenderLayer* childLayer, RenderLayer* rootLayer, const HitTestRequest& request, HitTestResult& result,
const IntRect& hitTestRect, const IntPoint& hitTestPoint, const HitTestingTransformState* transformState, double* zOffset)
{
- ASSERT(!renderer()->isPositioned());
Vector<RenderLayer*> columnLayers;
RenderLayer* ancestorLayer = isNormalFlowOnly() ? parent() : stackingContext();
for (RenderLayer* curr = childLayer->parent(); curr; curr = curr->parent()) {