<?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>3242</bug_id>
          
          <creation_ts>2005-06-01 16:09:01 -0700</creation_ts>
          <short_desc>Table rows have no dimensions</short_desc>
          <delta_ts>2006-03-26 06:38:44 -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>Tables</component>
          <version>412</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>3297</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dave Hyatt">hyatt</reporter>
          <assigned_to name="Dave Hyatt">hyatt</assigned_to>
          <cc>nickshanks</cc>
    
    <cc>pg</cc>
    
    <cc>pshah</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>10437</commentid>
    <comment_count>0</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2005-06-01 16:09:01 -0700</bug_when>
    <thetext>Table rows do not have a size in the render tree currently.  This needs to be fixed, since it is causing the 
following issues:

(1) Backgrounds don&apos;t work properly on table rows
(2) offsetWidth returns 0
(3) Anchor jumping to a row doesn&apos;t work</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10438</commentid>
    <comment_count>1</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2005-06-01 16:09:18 -0700</bug_when>
    <thetext>Apple Bug: rdar://3613374/
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14016</commentid>
    <comment_count>2</comment_count>
    <who name="Maks Orlovich">maksim</who>
    <bug_when>2005-07-05 10:34:47 -0700</bug_when>
    <thetext>http://bugs.kde.org/show_bug.cgi?id=70326#c17, FYI 
 </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16208</commentid>
    <comment_count>3</comment_count>
    <who name="Nicholas Shanks">nickshanks</who>
    <bug_when>2005-08-08 11:30:26 -0700</bug_when>
    <thetext>Possibly related to this is the bug whereby tr:hover CSS styles don&apos;t apply if the mouse is within the row 
bounds but outside any of it&apos;s cells (i.e. there is some cellspacing, or the row doesn&apos;t have a full 
complement of table cells).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18771</commentid>
    <comment_count>4</comment_count>
      <attachid>3775</attachid>
    <who name="Patrick Geiller">pg</who>
    <bug_when>2005-09-05 15:14:39 -0700</bug_when>
    <thetext>Created attachment 3775
Test case

The bug also affects TBODY. TBODY has a zero offsetWidth and correct
offsetHeight, TR zero offsetWidth &amp;  offsetHeight.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18774</commentid>
    <comment_count>5</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2005-09-05 15:18:38 -0700</bug_when>
    <thetext>Yes, this is a major architectural flaw in tables.  It also affects background painting (try doing a non-
repeating background on a row or body).
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18932</commentid>
    <comment_count>6</comment_count>
      <attachid>3789</attachid>
    <who name="Patrick Geiller">pg</who>
    <bug_when>2005-09-06 14:15:22 -0700</bug_when>
    <thetext>Created attachment 3789
For the curious :) test case for non-repeating backgrounds

So the TR background-image is duplicated in all TDs. There&apos;s also something
fishy with a border on a TR, which gets semi-replicated (only right &amp; bottom)
on TDs, but only if table has border=1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32436</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-02-13 21:48:30 -0800</bug_when>
    <thetext>*** Bug 7242 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36507</commentid>
    <comment_count>8</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2006-03-15 19:45:57 -0800</bug_when>
    <thetext>Upon further investigation, it appears that it should not be possible to hit test a row.  Other browsers do not allow you to hit test it, so tr:hover is *not* supposed to work if you are in the space between cells.

Moreover background painting is also not done on the row.  All browsers inherit the backgrounds into the cells.  It looks like Firefox - in strict mode only - will honor the non-repeating bg, but they still don&apos;t do it correctly.

In general, our agreed strategy with tables is to match WinIE, and so the background painting is not an issue any more (nor is the hover).

Issues that are genuine, however, are the anchor bug (which is filed as 5393) and the offsetWidth/Height issue.  These are now resolved with the patch attached to 5393.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37597</commentid>
    <comment_count>9</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-03-26 06:38:44 -0800</bug_when>
    <thetext>Marking as fixed, according to the above comment.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>3775</attachid>
            <date>2005-09-05 15:14:39 -0700</date>
            <delta_ts>2005-09-05 15:14:39 -0700</delta_ts>
            <desc>Test case</desc>
            <filename>tbody+tr offsetSize.html</filename>
            <type>text/html</type>
            <size>1062</size>
            <attacher name="Patrick Geiller">pg</attacher>
            
              <data encoding="base64">PGh0bWw+Cjxib2R5PgoJPGgxPlRCT0RZICsgVFIgaW5jb3JyZWN0IG9mZnNldFdpZHRoLCBvZmZz
ZXRIZWlnaHQ8L2gxPgoJCgk8dGFibGUgYm9yZGVyPScxJz4KCQk8dHI+CgkJCTx0ZD5BPC90ZD4K
CQkJPHRkPnNpbXBsZTwvdGQ+CgkJPC90cj4KCQk8dHI+CgkJCTx0ZD50YWJsZTwvdGQ+CgkJCTx0
ZD4gOik8L3RkPgoJCTwvdH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ICc8cHJlPjxi
Pm5vZGVOYW1lICAgIG9mZnNldFdpZHRoLCBvZmZzZXRIZWlnaHQ8L2I+XG4nICsgby5zdHIgKyAn
PC9wcmU+JwoJPC9zY3JpcHQ+CgoKPC9ib2R5Pgo8L2h0bWw+
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>3789</attachid>
            <date>2005-09-06 14:15:22 -0700</date>
            <delta_ts>2005-09-06 14:15:22 -0700</delta_ts>
            <desc>For the curious :) test case for non-repeating backgrounds</desc>
            <filename>test tr.html</filename>
            <type>text/html</type>
            <size>423</size>
            <attacher name="Patrick Geiller">pg</attacher>
            
              <data encoding="base64">PGh0bWw+Cjxib2R5PgoJPGgxPk5vbi1yZXBlYXRpbmcgYmFja2dyb3VuZCBvbiBUUjwvaDE+Cgk8
dGFibGUgYm9yZGVyPScxJyBjZWxsU3BhY2luZz0nMTAnIHN0eWxlPSd3aWR0aDogNTAlJz4KCQk8
dHIgc3R5bGU9JyBib3JkZXI6IHNvbGlkIDFweCByZWQ7IGhlaWdodDogMjAwcHg7IAoJCQkJCWJh
Y2tncm91bmQtcmVwZWF0OiBuby1yZXBlYXQ7IAoJCQkJCWJhY2tncm91bmQtaW1hZ2U6IHVybCho
dHRwOi8vaW1hZ2VzLmFwcGxlLmNvbS90LzIwMDIvdXMvZW4vaS8xLmdpZik7CgkJCQkJJz4KCQkJ
PHRkID50ZXh0PC90ZD4KCQkJPHRkPm1vcmUgdGV4dDwvdGQ+CgkJPC90cj4KCTwvdGFibGU+CgkK
CTxwcmU+CglUaGUgVFIgYWxzbyBoYXMgYSA8Yj5ib3JkZXI6IHNvbGlkIDFweCByZWQ8L2I+IHJ1
bGUuCgkKPC9ib2R5Pgo8L2h0bWw+CgoK
</data>

          </attachment>
      

    </bug>

</bugzilla>