Bug 50909
Summary: | Styles for <tr> are repeated for every <td> in it | ||
---|---|---|---|
Product: | WebKit | Reporter: | Mathias Bynens <mathias> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | dbates, mathias, mihnea, niels.matthijs, paulirish, temp01irc+bugzilla |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | OS X 10.6 | ||
URL: | http://mathiasbynens.be/demo/webkit-tr-css |
Mathias Bynens
Styles for <tr> seem to be repeated for every <td> in it.
I’ve made a simple example on http://mathiasbynens.be/demo/webkit-tr-css, where the <td> gets a gradient background-image through CSS. (Note that I avoided the use of CSS3 gradients to avoid complexity and confusion — it’s just a simple test case.)
In WebKit, the image is repeated for every <td>: http://i.imgur.com/vXNd9.png
In Firefox or Opera, it works as expected: http://i.imgur.com/V7HvU.png
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Mihnea Ovidenie
This is not necessary related to the gradient. Instead of the gradient, you can use another image and still reproduce the problem.
Mathias Bynens
(In reply to comment #1)
> This is not necessary related to the gradient. Instead of the gradient, you can use another image and still reproduce the problem.
For the record, I never said it was. I simply used a background image that happened to be a gradient (for clarity). Of course it doesn’t matter which image is used.
Daniel Bates
*** This bug has been marked as a duplicate of bug 9268 ***