Bug 42993 - REGRESSION (r63994): Bank of America's home page is horribly mis-rendered
Summary: REGRESSION (r63994): Bank of America's home page is horribly mis-rendered
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tables (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL: https://www.bankofamerica.com/index.jsp
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2010-07-26 12:20 PDT by Mark Rowe (bdash)
Modified: 2010-07-29 06:41 PDT (History)
10 users (show)

See Also:


Attachments
Fixed table rendering on partial layout during load (13.62 KB, patch)
2010-07-27 08:37 PDT, Fady Samuel
no flags Details | Formatted Diff | Diff
Fixed table rendering on partial layout during load (14.42 KB, patch)
2010-07-27 11:07 PDT, Fady Samuel
no flags Details | Formatted Diff | Diff
Fixed table rendering on partial layout during load (20.42 KB, patch)
2010-07-27 12:14 PDT, Fady Samuel
no flags Details | Formatted Diff | Diff
Fixed table rendering on partial layout during load (20.54 KB, patch)
2010-07-27 12:47 PDT, Fady Samuel
no flags Details | Formatted Diff | Diff
Fixed Table Rendering On Partial Layout (20.12 KB, patch)
2010-07-27 13:04 PDT, Fady Samuel
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Rowe (bdash) 2010-07-26 12:20:51 PDT
After <http://trac.webkit.org/changeset/63994> Bank of America’s home page is rendered incorrectly.  That change is associated with bug 40775.

<rdar://problem/8235236>
Comment 1 Kevin M. Dean 2010-07-27 08:09:09 PDT
I also see a likely related issue with the table layouts on some forums site's like:

http://board.jdownloader.org/forumdisplay.php?f=13

On first load, the tables don't render right. Reload the page and it looks correct. Started between r63958-r64033.
Comment 2 Fady Samuel 2010-07-27 08:21:22 PDT
I have a patch underway. It'll be ready for review in a few minutes, just waiting on a try bot to confirm I didn't break anything new.
Comment 3 Fady Samuel 2010-07-27 08:37:04 PDT
Created attachment 62696 [details]
Fixed table rendering on partial layout during load
Comment 4 James Robinson 2010-07-27 09:17:45 PDT
Where are the regression tests for this fix?
Comment 5 Fady Samuel 2010-07-27 09:27:20 PDT
(In reply to comment #4)
> Where are the regression tests for this fix?

slashdot logo test was flaky. Now it's not. I suppose I can change it to force an early layout.
Comment 6 Fady Samuel 2010-07-27 09:41:01 PDT
(In reply to comment #5)
> (In reply to comment #4)
> > Where are the regression tests for this fix?
> 
> slashdot logo test was flaky. Now it's not. I suppose I can change it to force an early layout.

A bunch of bugs were filed related to the flaky table rendering. This patch should address them all in one fell swoop.
Comment 7 Fady Samuel 2010-07-27 11:07:10 PDT
Created attachment 62712 [details]
Fixed table rendering on partial layout during load

slashdot test forces early layout.
Comment 8 Mark Rowe (bdash) 2010-07-27 11:10:29 PDT
Comment on attachment 62712 [details]
Fixed table rendering on partial layout during load

> diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
> index 2f8c734..25f2b39 100644
> --- a/LayoutTests/ChangeLog
> +++ b/LayoutTests/ChangeLog
> @@ -1,3 +1,15 @@
> +2010-07-27  fsamuel@chromium.org  <fsamuel@chromium.org>
> +
> +        Reviewed by NOBODY (OOPS!).
> +
> +        Restored the expectation for the slashdot logo table test.
> +
> +        REGRESSION (r63994): Bank of America's home page is horribly mis-rendered
> +        https://bugs.webkit.org/show_bug.cgi?id=42993

Please put bug titles at the top of the ChangeLog entry rather than at the bottom.  Not only does this match every single other ChangeLog entry ever written, it makes them much easier to find when visually scanning the ChangeLog.

> diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
> index e26d185..87f7378 100644
> --- a/WebCore/ChangeLog
> +++ b/WebCore/ChangeLog
> @@ -1,3 +1,35 @@
> +2010-07-27  fsamuel@chromium.org  <fsamuel@chromium.org>
> +
> +        Reviewed by NOBODY (OOPS!).
> +
> +        Fixed bug introduced by patch for bug 40775. 
> +
> +        The new table rendering code did not take into account table layouts starting
> +        during a partial construction of the table render tree. As such,
> +        multiple layouts on the same table resulted in more columns being generated.
> +        This patch solves this issue.
> +
> +        REGRESSION (r63994): Bank of America's home page is horribly mis-rendered
> +        https://bugs.webkit.org/show_bug.cgi?id=42993

Ditto.
Comment 9 James Robinson 2010-07-27 11:14:52 PDT
Don't change an existing test, please add a new test that fails without your patch and passes with it.  I believe tables/mozilla/ is imported from another source.
Comment 10 Fady Samuel 2010-07-27 12:14:05 PDT
Created attachment 62724 [details]
Fixed table rendering on partial layout during load

Added a new simple layout test that checks for this bug.
Comment 11 Fady Samuel 2010-07-27 12:47:33 PDT
Created attachment 62728 [details]
Fixed table rendering on partial layout during load
Comment 12 Fady Samuel 2010-07-27 13:04:45 PDT
Created attachment 62733 [details]
Fixed Table Rendering On Partial Layout
Comment 13 morokuma 2010-07-27 13:16:50 PDT
Hi! First bug report for WebKit. Seems like I have the same problem. r63958 works fine. Using r64033 and later, BoA site, and like Geocaching.com for me, all render the layout strangely & very reproductively. I use PPC G5 Mac OS X 10.5.8. Thanks for improving WebKit, and Safari too!
Comment 14 morokuma 2010-07-27 13:19:36 PDT
Hi! First bug report for WebKit. Seems like I have the same problem. r63958 works fine. Using r64033 and later, BoA site, and like Geocaching.com for me, all render the layout strangely & very reproductively. I use PPC G5 Mac OS X 10.5.8. Thanks for improving WebKit, and Safari too!
Comment 15 Fady Samuel 2010-07-27 13:38:11 PDT
(In reply to comment #14)
> Hi! First bug report for WebKit. Seems like I have the same problem. r63958 works fine. Using r64033 and later, BoA site, and like Geocaching.com for me, all render the layout strangely & very reproductively. I use PPC G5 Mac OS X 10.5.8. Thanks for improving WebKit, and Safari too!

The patch that fixes the problem is above. Just pending review.
Comment 16 Dave Hyatt 2010-07-27 13:52:54 PDT
Comment on attachment 62733 [details]
Fixed Table Rendering On Partial Layout

r=me
Comment 17 morokuma 2010-07-28 08:07:24 PDT
Still not fixed in WebKit-SVN-r64156 under Safari 5.0.0.
Going to update to Safari 5.0.1 now, and see the improvements.
Still waiting approval for this fix, I guess.
Comment 18 James Robinson 2010-07-28 13:07:39 PDT
Comment on attachment 62733 [details]
Fixed Table Rendering On Partial Layout

Clearing flags on attachment: 62733

Committed r64225: <http://trac.webkit.org/changeset/64225>
Comment 19 James Robinson 2010-07-28 13:07:45 PDT
All reviewed patches have been landed.  Closing bug.
Comment 20 morokuma 2010-07-29 06:41:17 PDT
All seems to be fixed in WebKit-SVN-r64246. Awesome!
Thanks for the quick response!