Bug 12239

Summary: REGRESSION (r18816-r18818): Assertion failure in WebCore::Length::Length[in-charge](int, WebCore::LengthType, bool)
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: hyatt
Priority: P1 Keywords: Regression
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
URL: http://bugs.webkit.org/attachment.cgi?id=9466
Attachments:
Description Flags
Patch v1
none
Patch v2 mjs: review+

Description David Kilzer (:ddkilzer) 2007-01-12 20:12:34 PST
The fix for Bug 9934 causes an assertion failure in debug builds because an integer value is used instead of a floating point value when creating the Length() object.

Patch forthcoming with fix and a layout test (per Bug 9934 Comment #4).
Comment 1 David Kilzer (:ddkilzer) 2007-01-12 20:20:37 PST
Created attachment 12408 [details]
Patch v1

Proposed fix and layout test.
Comment 2 David Kilzer (:ddkilzer) 2007-01-12 20:29:45 PST
Created attachment 12409 [details]
Patch v2

Fixed results (Patch v1 had old results).
Comment 3 Maciej Stachowiak 2007-01-12 20:37:17 PST
Comment on attachment 12409 [details]
Patch v2

r=me
Comment 4 David Kilzer (:ddkilzer) 2007-01-12 20:39:21 PST
Committed revision 18824.