RESOLVED DUPLICATE of bug 9268 19315
Table cell background image inherited incorrectly
https://bugs.webkit.org/show_bug.cgi?id=19315
Summary Table cell background image inherited incorrectly
chendo
Reported 2008-05-29 17:04:48 PDT
When applying a background style to a <tr> tag, all the cells within that <tr> tag inherits the background tag, causing the background image to be applied more than once. This renders fine in FF3b6, haven't checked other browsers yet. Reproducible code is below: <html> <head> <title>WebKit CSS bug</title> <style type="text/css"> <!-- tr { background: url(http://www.google.com/images/nav_logo3.png) no-repeat; } th, td { width: 200px; height: 100px; } --> </style> </head> <body> <table> <tr> <th>blah</th> <th>blah</th> <th>blah</th> <td>blah</td> <td>blah</td> </tr> </table> </body> </html>
Attachments
Dave Hyatt
Comment 1 2008-05-29 18:04:10 PDT
We match IE"s rendering here I believe.
chendo
Comment 2 2008-05-29 18:22:06 PDT
(In reply to comment #1) > We match IE"s rendering here I believe. > Wait, that is supposed to be a GOOD thing? I'm pretty sure IE's rendering engine isn't something that other engines should try to match.
Bodaniel Jeanes
Comment 3 2008-05-29 18:23:13 PDT
(In reply to comment #1) > We match IE"s rendering here I believe. > yeah the funny thing is here .... why!?? Usually if IE does it a certain way ... you know it's probably wrong.
Daniel Bates
Comment 4 2009-12-02 19:37:23 PST
*** This bug has been marked as a duplicate of bug 9268 ***
Note You need to log in before you can comment on or make changes to this bug.