Bug 134940 - Large height/width for body causes page rendering to fail
Summary: Large height/width for body causes page rendering to fail
Status: ASSIGNED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: zalan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-15 14:04 PDT by Bem Jones-Bey
Modified: 2014-08-19 14:20 PDT (History)
1 user (show)

See Also:


Attachments
testcase (167 bytes, text/html)
2014-07-15 14:04 PDT, Bem Jones-Bey
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.