Issue 1283: Chrome doesn't treat Google Trends results as expected
http://code.google.com/p/chromium/issues/detail?id=1283
Comment #4 by [EMAIL PROTECTED]:
The trends team reduced the HTML for me and explained that the bars in
trends are
constructed so:
<style>
table.bar td {
border-bottom: none;
padding:0;
}
table.bar {
padding:0;
border-top: 1px solid #E8EEF7;
}
</style>
<table cellspacing="0" width="60" height="4" class="bar"><tbody><tr><td
bgcolor="#4684ee"/></tr></tbody></table>
<table cellspacing="0" width="62" height="4" class="bar"><tbody><tr><td
bgcolor="#dc3912"/></tr></tbody></table>
<table cellspacing="0" width="61" height="4" class="bar"><tbody><tr><td
bgcolor="#ff9900"/></tr></tbody></table>
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.
we (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"
bgcolor="#4684ee"><tbody><tr><td/></tr></tbody></table>
I have opened a bug against WebKit see
https://bugs.webkit.org/show_bug.cgi?id=22336
Issue attribute updates:
Status: Upstream
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Chromium-bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---