<?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>128486</bug_id>
          
          <creation_ts>2014-02-08 20:35:40 -0800</creation_ts>
          <short_desc>Table elements with position:sticky have borders repainted incorrectly on scroll</short_desc>
          <delta_ts>2018-08-23 01:41:29 -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>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>94128</dup_id>
          
          <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>
          
          <blocked>128436</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Blaze Burg">bburg</reporter>
          <assigned_to name="alan">zalan</assigned_to>
          <cc>bburg</cc>
    
    <cc>bdakin</cc>
    
    <cc>dbates</cc>
    
    <cc>dino</cc>
    
    <cc>hartman.wiki</cc>
    
    <cc>jonlee</cc>
    
    <cc>kling</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>yeshar.hadi</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>978509</commentid>
    <comment_count>0</comment_count>
    <who name="Blaze Burg">bburg</who>
    <bug_when>2014-02-08 20:35:40 -0800</bug_when>
    <thetext>When scrolling, the background of a position:sticky table row element is painted correctly as if it were position:fixed, but the row&apos;s borders follow the scrolled table contents.

In my testing, any of thead, th, td, tr with position:-webkit-sticky exhibit this bug. Other elements (divs, etc) draw borders correctly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>978510</commentid>
    <comment_count>1</comment_count>
      <attachid>223602</attachid>
    <who name="Blaze Burg">bburg</who>
    <bug_when>2014-02-08 20:36:11 -0800</bug_when>
    <thetext>Created attachment 223602
testcase with position:sticky thead</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>978519</commentid>
    <comment_count>2</comment_count>
      <attachid>223607</attachid>
    <who name="alan">zalan</who>
    <bug_when>2014-02-08 21:34:41 -0800</bug_when>
    <thetext>Created attachment 223607
reduced test case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>989996</commentid>
    <comment_count>3</comment_count>
    <who name="Derk-Jan Hartman">hartman.wiki</who>
    <bug_when>2014-03-13 06:13:51 -0700</bug_when>
    <thetext>I suspect dupe of bug 94128</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1292389</commentid>
    <comment_count>4</comment_count>
    <who name="Derk-Jan Hartman">hartman.wiki</who>
    <bug_when>2017-03-29 08:14:32 -0700</bug_when>
    <thetext>3 years later, still a problem.

https://en.wikipedia.org/wiki/List_of_Space_Shuttle_missions?withCSS=MediaWiki:Gadget-StickyTableHeaders.css

The table headers here loose there borders whenever position sticky is used.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1292448</commentid>
    <comment_count>5</comment_count>
    <who name="Blaze Burg">bburg</who>
    <bug_when>2017-03-29 10:04:20 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 94128 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1292484</commentid>
    <comment_count>6</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2017-03-29 11:13:14 -0700</bug_when>
    <thetext>Does this only happen on Retina displays?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1292707</commentid>
    <comment_count>7</comment_count>
    <who name="Derk-Jan Hartman">hartman.wiki</who>
    <bug_when>2017-03-29 23:18:07 -0700</bug_when>
    <thetext>@simon I just tested. No it happens on both Retina and non-Retina.

Im also much less sure that this is an actual duplicate of 94128 btw. This seems much more likely to be a side effect of border collapse.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1295615</commentid>
    <comment_count>8</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2017-04-07 19:18:02 -0700</bug_when>
    <thetext>&lt;rdar://problem/31516367&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1452235</commentid>
    <comment_count>9</comment_count>
    <who name="Yeshar">yeshar.hadi</who>
    <bug_when>2018-08-21 13:33:44 -0700</bug_when>
    <thetext>This issue persists on Chrome. Not sure why it&apos;s listed as resolved. I&apos;m guessing that people have come up with workarounds over the 4+ years this has been a bug... Any suggestions would be welcomed. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1453020</commentid>
    <comment_count>10</comment_count>
    <who name="Derk-Jan Hartman">hartman.wiki</who>
    <bug_when>2018-08-23 01:41:29 -0700</bug_when>
    <thetext>I also don&apos;t think this is the same bug as the one it was closed as a dupe of. As far as I understand, this bug occurs due to border collapsing.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>223602</attachid>
            <date>2014-02-08 20:36:11 -0800</date>
            <delta_ts>2014-02-08 20:36:11 -0800</delta_ts>
            <desc>testcase with position:sticky thead</desc>
            <filename>testcase.html</filename>
            <type>text/html</type>
            <size>1950</size>
            <attacher name="Blaze Burg">bburg</attacher>
            
              <data encoding="base64">PGh0bWw+CjxoZWFkPgo8dGl0bGU+cG9zaXRpb246IHN0aWNreSBvbiAmbHQ7dGhlYWQ+IHdpdGgg
Ym9yZGVyczwvdGl0bGU+CjwvaGVhZD4KPGJvZHk+Cgo8dGFibGUgc3R5bGU9ImJvcmRlcjogMDsg
Ym9yZGVyLWNvbGxhcHNlOiB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dHI+Cjx0cj48dGQ+MzU8L3Rk
Pjx0ZD5UaGlydHktRml2ZTwvdGQ+PC90cj4KPHRyPjx0ZD4zNjwvdGQ+PHRkPlRoaXJ0eS1TaXg8
L3RkPjwvdHI+Cjx0cj48dGQ+Mzc8L3RkPjx0ZD5UaGlydHktU2V2ZW48L3RkPjwvdHI+Cjx0cj48
dGQ+Mzg8L3RkPjx0ZD5UaGlydHktRWlnaHQ8L3RkPjwvdHI+Cjx0cj48dGQ+Mzk8L3RkPjx0ZD5U
aGlydHktTmluZTwvdGQ+PC90cj4KPHRyPjx0ZD40MDwvdGQ+PHRkPkZvcnR5PC90ZD48L3RyPgo8
L3Rib2R5Pgo8L3RhYmxlPgoKPGRpdiBzdHlsZT0iaGVpZ2h0OiAyMDAlOyI+PC9kaXY+Cgo8L2Jv
ZHk+CjwvaHRtbD4K
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>223607</attachid>
            <date>2014-02-08 21:34:41 -0800</date>
            <delta_ts>2014-02-08 21:34:41 -0800</delta_ts>
            <desc>reduced test case</desc>
            <filename>table.html</filename>
            <type>text/html</type>
            <size>283</size>
            <attacher name="alan">zalan</attacher>
            
              <data encoding="base64">PGh0bWw+Cjxib2R5Pgo8cD5Ub3AgYW5kIGxlZnQgYm9yZGVycyBhcmUgb3ZlcmRyYXduLjwvcD4K
PHRhYmxlIHN0eWxlPSJib3JkZXItY29sbGFwc2U6IGNvbGxhcHNlOyI+Cjx0aGVhZCBzdHlsZT0i
cG9zaXRpb246IC13ZWJraXQtc3RpY2t5OyB0b3A6IDA7IGJhY2tncm91bmQtY29sb3I6IGJsYWNr
Ij4KPHRyPjx0ZCBzdHlsZT0iYm9yZGVyOiAxcHggc29saWQgcmVkOyB3aWR0aDogNTBweDsgaGVp
Z2h0OiA1MHB4Ij48L3RkPjwvdHI+CjwvdGhlYWQ+CjwvdGFibGU+CjwvYm9keT4KPC9odG1sPg==
</data>

          </attachment>
      

    </bug>

</bugzilla>