Bug 134940

Summary: Large height/width for body causes page rendering to fail
Product: WebKit Reporter: Bem Jones-Bey <bjonesbe>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: ASSIGNED ---    
Severity: Normal CC: zalan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
testcase none

Description Bem Jones-Bey 2014-07-15 14:04:50 PDT
Created attachment 234949 [details]
testcase

The attached test case doesn't render in WebKit Nightly, but it renders fine in Safari 7.0.5.

In a local build, it triggers signed integer overflow with many LayoutUnit operations, and there are places where the computed "bottom" coordinate is negative. If I do a build with saturated layout arithmetic enabled, then these LayoutUnit operations no longer cause integer overflows, but it still doesn't render. I haven't been able to determine where the core issue is.
Comment 1 Bem Jones-Bey 2014-08-19 14:08:37 PDT
Looks like this has been fixed by some other change.
Comment 2 zalan 2014-08-19 14:14:11 PDT
It still fails on trunk/nightly builds for me.
Comment 3 Bem Jones-Bey 2014-08-19 14:20:12 PDT
(In reply to comment #2)
> It still fails on trunk/nightly builds for me.

Oh, you're right, it doesn't draw the X, but it does render the background color. It didn't even render the background color when I filed this issue, which is why I was confused.