Bug 133190

Summary: thead : background css with no-repeat is repeated to each th
Product: [Applications] konqueror Reporter: Mathieu Bouchard <mbouchar>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: The image used in the xhtml example

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 ***