[Webkit-unassigned] [Bug 22336] New: Regional Charts on Google Trends Rendered Incorrectly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 18 09:39:39 PST 2008


           Summary: Regional Charts on Google Trends Rendered Incorrectly
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://www.google.com/trends?q=mothers+day,+fathers+day
        OS/Version: Mac OS X 10.5
            Status: NEW
          Keywords: GoogleBug, InChromiumBugs
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jon at chromium.org

The subregion and city graphs are just thin gray lines instead of being 
red and blue.  See this link http://www.google.com/trends?

These graphs appear correctly in IE7 and FF3.  The problem appears to be that
the bars in trends are constructed so:

table.bar td {
    border-bottom: none;
table.bar {
  border-top: 1px solid #E8EEF7;

<table cellspacing="0" width="60" height="4" class="bar"><tbody><tr><td
<table cellspacing="0" width="62" height="4" class="bar"><tbody><tr><td
<table cellspacing="0" width="61" height="4" class="bar"><tbody><tr><td

the webkit rendering engine doesn't display the colored bars because there is
nothing in the td that is renderable (so the bgcolor defined for the td doesn't
show up)...
as you know, this doesn't happen in IE, FF etc.

Trends can work around this. here are a couple of options:
putting something within the td so it renders:
<table cellspacing="0" width="60" height="4" class="bar"><tbody><tr><td
bgcolor="#4684ee"><img src="" width=1 height=1/></td></tr></tbody></table>
moving the bgcolor attribute to the table tag:
<table cellspacing="0" width="60" height="4" class="bar"

However, is this actually a problem that should be resolved in WebKit?  The
cell for the table appears to be rendered but it is lacking the background

This was originally opened against Chromium but happens in WebKit nightly and
Safari as well. See http://code.google.com/p/chromium/issues/detail?id=1283

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list