<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>19315</bug_id>
          
          <creation_ts>2008-05-29 17:04:48 -0700</creation_ts>
          <short_desc>Table cell background image inherited incorrectly</short_desc>
          <delta_ts>2009-12-02 19:37:23 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>525.x (Safari 3.1)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>9268</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="chendo">webkit+bugzilla</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dbates</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>81897</commentid>
    <comment_count>0</comment_count>
    <who name="chendo">webkit+bugzilla</who>
    <bug_when>2008-05-29 17:04:48 -0700</bug_when>
    <thetext>When applying a background style to a &lt;tr&gt; tag, all the cells within that &lt;tr&gt; tag inherits the background tag, causing the background image to be applied more than once.

This renders fine in FF3b6, haven&apos;t checked other browsers yet.

Reproducible code is below:

&lt;html&gt;
&lt;head&gt;
  &lt;title&gt;WebKit CSS bug&lt;/title&gt;
  &lt;style type=&quot;text/css&quot;&gt;
  &lt;!--
  tr
  {
    background: url(http://www.google.com/images/nav_logo3.png) no-repeat;
  }
  
  th, td
  {
    width: 200px;
    height: 100px;
  }
  --&gt;
  &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
  &lt;table&gt;
    &lt;tr&gt;
      &lt;th&gt;blah&lt;/th&gt;
      &lt;th&gt;blah&lt;/th&gt;
      &lt;th&gt;blah&lt;/th&gt;
      &lt;td&gt;blah&lt;/td&gt;
      &lt;td&gt;blah&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;
&lt;/body&gt;
&lt;/html&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81900</commentid>
    <comment_count>1</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2008-05-29 18:04:10 -0700</bug_when>
    <thetext>We match IE&quot;s rendering here I believe.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81902</commentid>
    <comment_count>2</comment_count>
    <who name="chendo">webkit+bugzilla</who>
    <bug_when>2008-05-29 18:22:06 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; We match IE&quot;s rendering here I believe.
&gt; 

Wait, that is supposed to be a GOOD thing?

I&apos;m pretty sure IE&apos;s rendering engine isn&apos;t something that other engines should try to match.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81903</commentid>
    <comment_count>3</comment_count>
    <who name="Bodaniel Jeanes">me</who>
    <bug_when>2008-05-29 18:23:13 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; We match IE&quot;s rendering here I believe.
&gt; 

yeah the funny thing is here .... why!?? Usually if IE does it a certain way ... you know it&apos;s probably wrong.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>168239</commentid>
    <comment_count>4</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2009-12-02 19:37:23 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 9268 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>