<?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>34392</bug_id>
          
          <creation_ts>2010-01-31 03:56:11 -0800</creation_ts>
          <short_desc>background (gradient) on tr is repeated on each td</short_desc>
          <delta_ts>2012-10-23 09:14:36 -0700</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>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 7</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="Gidon">gjunge</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bdredre</cc>
    
    <cc>dbates</cc>
    
    <cc>robin</cc>
    
    <cc>senorblanco</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>186184</commentid>
    <comment_count>0</comment_count>
    <who name="Gidon">gjunge</who>
    <bug_when>2010-01-31 03:56:11 -0800</bug_when>
    <thetext>I tried to apply a horizontal linear background gradient to a table row:

tr {  background: -webkit-gradient(linear, left top, right top, color-stop(0.0, white), color-stop(0.5, #E8E8E8), color-stop(1.0, white)); }

The row has a few cells, and unfortunately the gradient gets repeated on each cell, instead of the whole row.

Firefox 3.6 does render correctly using the following CSS rule:

tr { background: -moz-linear-gradient(left top , white, #E8E8E8, white) repeat scroll 0 0 transparent; }

According to what I&apos;ve read the same issue goes for background images on a table row, although I cannot confirm this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>186185</commentid>
    <comment_count>1</comment_count>
    <who name="Gidon">gjunge</who>
    <bug_when>2010-01-31 03:58:39 -0800</bug_when>
    <thetext>Btw. checked it on Safari 4.0.4 (webkit 531.21.10) although that selection was unavailable when entering the bug.
Also checked it on Chrome 4.0.249.78</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>190114</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-02-12 11:52:29 -0800</bug_when>
    <thetext>See also: bug 9268.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>205070</commentid>
    <comment_count>3</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2010-03-27 16:57:53 -0700</bug_when>
    <thetext>This issue is resolved with the patch for bug #9268.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>414002</commentid>
    <comment_count>4</comment_count>
    <who name="Robin Whittleton">robin</who>
    <bug_when>2011-06-02 02:06:31 -0700</bug_when>
    <thetext>The patch for bug #9268 was reverted it seems. I filed bug #58236 on this issue which I guess is a dupe of this bug, but this is definitely not fixed (in latest released Safari and Chrome on OSX 10.6 as of time of writing).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>414075</commentid>
    <comment_count>5</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2011-06-02 06:43:36 -0700</bug_when>
    <thetext>*** Bug 58236 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>414077</commentid>
    <comment_count>6</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2011-06-02 06:44:14 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 9268 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>414088</commentid>
    <comment_count>7</comment_count>
    <who name="Robin Whittleton">robin</who>
    <bug_when>2011-06-02 07:00:07 -0700</bug_when>
    <thetext>Fwiw, bug #9268 is titled &apos;Quirksmode&apos; but I’m seeing this issue in standards mode as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>414089</commentid>
    <comment_count>8</comment_count>
    <who name="Robin Whittleton">robin</who>
    <bug_when>2011-06-02 07:02:31 -0700</bug_when>
    <thetext>Sorry, I’m an idiot, just realised that meant quirksmode.org. Ignore me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>748708</commentid>
    <comment_count>9</comment_count>
    <who name="">bdredre</who>
    <bug_when>2012-10-23 09:14:36 -0700</bug_when>
    <thetext>This bug seems to have reappeared. Using the following code:


&lt;html&gt;
&lt;body&gt;
  &lt;table width=&quot;100%&quot;&gt;
    &lt;tr style=&quot;background: -webkit-linear-gradient(left, #CFC, #FFF);&quot;&gt;
      &lt;td&gt;This is a Chrome row&lt;/td&gt;
      &lt;td&gt;Something&lt;/td&gt;
      &lt;td&gt;Another thing&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr style=&quot;background: linear-gradient(to right, #CFC, #FFF);&quot;&gt;
      &lt;td&gt;This is a Firefox row&lt;/td&gt;
      &lt;td&gt;Something&lt;/td&gt;
      &lt;td&gt;Another thing&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;
&lt;/body&gt;
&lt;/html&gt;


This renders properly using Firefox but the gradient for the table row repeats across each child &lt;td&gt; using Chrome Version 22.0.1229.94 m</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>