Bug 133190 - thead : background css with no-repeat is repeated to each th
Summary: thead : background css with no-repeat is repeated to each th
Status: RESOLVED DUPLICATE of bug 140248
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-29 16:53 UTC by Mathieu Bouchard
Modified: 2007-01-29 00:36 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
The image used in the xhtml example (363 bytes, image/png)
2006-08-29 16:55 UTC, Mathieu Bouchard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Bouchard 2006-08-29 16:53:51 UTC
Version:            (using KDE KDE 3.5.4)
Installed from:    Debian testing/unstable Packages
Compiler:          gcc 4.1.1 
OS:                Linux

When using a background image with no-repeat on a thead element, the background image is repeated on each th element instead.

The image should be repeated once for the thead element.

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Konqueror and thead css</title>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <style type="text/css">
    thead.list {
      background: #0066cc url(right-round.png) no-repeat top right;
      color: white;
    }
  </style>
</head>

<body>
  <div class="contents">
    <table class="list">
      <thead class="list">
        <tr><th>Name</th><th>Type</th><th>Description</th><th>Other</th></tr>
      </thead>
      <tbody class="list">
        <tr><td>Roger</td><td>Tall</td><td>12</td><td>blablablablablabla</td></tr>
        <tr><td>Ermenegilde</td><td>Slim</td><td>145</td><td>Huhu</td></tr>
        <tr><td>Arthur</td><td>Fat</td><td>3455</td><td>Test</td></tr>
        <tr><td>Bertrand</td><td>Unknown</td><td>435</td><td>None</td></tr>
      </tbody>
    </table>
  </div>
</body>
</html>
Comment 1 Mathieu Bouchard 2006-08-29 16:55:29 UTC
Created attachment 17555 [details]
The image used in the xhtml example
Comment 2 Germain Garand 2007-01-29 00:36:32 UTC

*** This bug has been marked as a duplicate of 140248 ***