Summary: | body with display:inline causes crash | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Shinichiro Hamaji <hamaji> | ||||
Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | webkit.review.bot | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | PC | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Shinichiro Hamaji
2009-12-10 03:53:41 PST
Created attachment 44605 [details]
Patch v1
style-queue ran check-webkit-style on attachment 44605 [details] without any errors.
The two modified lines assume <body> is always a block element. I used encolsingBox instead of toRenderBox. For FrameView::createScrollbar(), I'm not sure if using encolsingBox is the best solution. We may be able to just check body->isBox() in this if-clause. For FrameView::layout(), I think we should use encolsingBox. Otherwise, an unnecessary horizontal scrollbar will appear for the testcase with marquee because the updated height won't be considered. Comment on attachment 44605 [details]
Patch v1
r=me
Committed r52036: <http://trac.webkit.org/changeset/52036> |