Bug 19315
Summary: | Table cell background image inherited incorrectly | ||
---|---|---|---|
Product: | WebKit | Reporter: | chendo <webkit+bugzilla> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | dbates |
Priority: | P2 | ||
Version: | 525.x (Safari 3.1) | ||
Hardware: | Mac | ||
OS: | OS X 10.5 |
chendo
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Dave Hyatt
We match IE"s rendering here I believe.
chendo
(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
(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
*** This bug has been marked as a duplicate of bug 9268 ***