[Webkit-unassigned] [Bug 121020] New: Crash on shape-outside when using calc()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Sep 8 23:20:42 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=121020
Summary: Crash on shape-outside when using calc()
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: krit at webkit.org
CC: giles_joplin at yahoo.com, bjonesbe at adobe.com
Created an attachment (id=211010)
--> (https://bugs.webkit.org/attachment.cgi?id=211010&action=review)
Crash test
When a users specifies the shape-outside property with calc(), the browser crashes:
-webkit-shape-outside: circle(50%, 50%, calc(50% - 20px));
Stack:
1 0x10778a4d0 WTFCrash
2 0x109664cfd WebCore::floatValueForLength(WebCore::Length const&, float, WebCore::RenderView*)
3 0x109c08029 WebCore::Shape::createShape(WebCore::BasicShape const*, WebCore::LayoutSize const&, WebCore::WritingMode, WebCore::Length, WebCore::Length)
4 0x109c0b115 WebCore::ShapeInfo<WebCore::RenderBlock, &(WebCore::RenderStyle::resolvedShapeInside() const), &(WebCore::Shape::getIncludedIntervals(WebCore::LayoutUnit, WebCore::LayoutUnit, WTF::Vector<WebCore::LineSegment, 0ul, WTF::CrashOnOverflow>&) const)>::computedShape() const
5 0x1098712b1 WebCore::ShapeInsideInfo::computedShapeLogicalBoundingBox() const
6 0x10986d251 WebCore::ShapeInfo<WebCore::RenderBlock, &(WebCore::RenderStyle::resolvedShapeInside() const), &(WebCore::Shape::getIncludedIntervals(WebCore::LayoutUnit, WebCore::LayoutUnit, WTF::Vector<WebCore::LineSegment, 0ul, WTF::CrashOnOverflow>&) const)>::shapeLogicalTop() const
7 0x10987881b WebCore::RenderBlock::layoutRunsAndFloatsInRange(WebCore::LineLayoutState&, WebCore::BidiResolver<WebCore::InlineIterator, WebCore::BidiRun>&, WebCore::InlineIterator const&, WebCore::BidiStatus const&, unsigned int)
BasicShapeFunction.cpp:114 static Length convertToLength(...
does not have CalculatedConversion as possible type.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list