Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 206082 Details for
Bug 271372
konqueror-3.5.10 crashes on specific sites
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
applied to kdelibs-3.5.10-r6
63_fixed-layout-table.diff (text/plain), 1.01 KB, created by
Roman v. Gemmeren
on 2009-10-05 13:18:29 UTC
(
hide
)
Description:
applied to kdelibs-3.5.10-r6
Filename:
MIME Type:
Creator:
Roman v. Gemmeren
Created:
2009-10-05 13:18:29 UTC
Size:
1.01 KB
patch
obsolete
>--- a/khtml/rendering/table_layout.cpp >+++ b/khtml/rendering/table_layout.cpp >@@ -297,7 +297,8 @@ void FixedTableLayout::layout() > #endif > for ( int i = 0; available > 0 && i < nEffCols; i++ ) { > if ( width[i].isPercent() ) { >- int w = base * width[i].value() / totalPercent; >+ // totalPercent may be 0 below if all %-width specifed are 0%. (#172557) >+ int w = totalPercent ? base * width[i].value() / totalPercent : 0; > available -= w; > calcWidth[i] = w; > } >@@ -313,7 +314,8 @@ void FixedTableLayout::layout() > > for ( int i = 0; available > 0 && i < nEffCols; i++ ) { > if ( width[i].isVariable() ) { >- int w = available / totalVariable; >+ // totalVariable may be 0 below if all the variable widths specified are 0. >+ int w = totalVariable ? available / totalVariable : 0; > available -= w; > calcWidth[i] = w; > totalVariable--;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 271372
: 206082