<?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>32874</bug_id>
          
          <creation_ts>2009-12-22 11:39:44 -0800</creation_ts>
          <short_desc>Typed text in table not correctly redrawn on page with compositing layers</short_desc>
          <delta_ts>2009-12-29 09:19:13 -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>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.iquilezles.org/apps/shadertoy/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Fraser (smfr)">simon.fraser</reporter>
          <assigned_to name="Simon Fraser (smfr)">simon.fraser</assigned_to>
          <cc>mitz</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>174319</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2009-12-22 11:39:44 -0800</bug_when>
    <thetext>Visit http://www.iquilezles.org/apps/shadertoy/ with WebGL enabled, and try typing into Source text box. Note that your typing doesn&apos;t show correctly (but you do see some weird pixel dust).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>174508</commentid>
    <comment_count>1</comment_count>
      <attachid>45414</attachid>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2009-12-22 18:46:23 -0800</bug_when>
    <thetext>Created attachment 45414
Reduced testcase

This is related to table redraw in compositing mode, but, oddly, even when the table is not in a compositing layer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>174511</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2009-12-22 19:45:12 -0800</bug_when>
    <thetext>This is related to the code that walks up the container() chain in computeRectForRepaint(). RenderTableRow and RenderTableSection are both adding offsets?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>174514</commentid>
    <comment_count>3</comment_count>
    <who name="">mitz</who>
    <bug_when>2009-12-22 19:51:10 -0800</bug_when>
    <thetext>Hmm… perhaps something needs to be done to compensate for &lt;http://trac.webkit.org/changeset/51864&gt;? Or just more of the same?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>174515</commentid>
    <comment_count>4</comment_count>
    <who name="">mitz</who>
    <bug_when>2009-12-22 19:54:17 -0800</bug_when>
    <thetext>Actually RenderTableCell::computeRectForRepaint() appears to be doing the right thing. Are we starting the computation at the table row?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>175381</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2009-12-28 20:06:41 -0800</bug_when>
    <thetext>Ah, we&apos;re getting a difference answer when RenderBox::computeRectForRepaint() goes through the LayoutState code path.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>175386</commentid>
    <comment_count>6</comment_count>
      <attachid>45586</attachid>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2009-12-28 20:48:05 -0800</bug_when>
    <thetext>Created attachment 45586
Patch

I wasn&apos;t able to create a repaint layoutTest that shows the problem, so no test here, alas.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>175588</commentid>
    <comment_count>7</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2009-12-29 09:19:13 -0800</bug_when>
    <thetext>http://trac.webkit.org/changeset/52624</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>45414</attachid>
            <date>2009-12-22 18:46:23 -0800</date>
            <delta_ts>2009-12-22 18:46:23 -0800</delta_ts>
            <desc>Reduced testcase</desc>
            <filename>table-input-repaint.html</filename>
            <type>text/html</type>
            <size>410</size>
            <attacher name="Simon Fraser (smfr)">simon.fraser</attacher>
            
              <data encoding="base64">PGh0bWw+CjxoZWFkPgogIDx0aXRsZT5FZGl0aW5nIHRhYmxlIHJlcGFpbnQ8L3RpdGxlPgogIDxz
dHlsZSB0eXBlPSJ0ZXh0L2NzcyIgbWVkaWE9InNjcmVlbiI+CiAgICAuY29tcG9zaXRpbmcgewog
ICAgICB3aWR0aDogMTAwcHg7CiAgICAgIGhlaWdodDogMTAwcHg7CiAgICAgIC13ZWJraXQtdHJh
bnNmb3JtOiB0cmFuc2xhdGVaKDApOwogICAgICBiYWNrZ3JvdW5kLWNvbG9yOiBibHVlOwogICAg
fQogIDwvc3R5bGU+CjwvaGVhZD4KCjxib2R5PgoKICA8dGFibGUgYm9yZGVyPSIxIj4KICAgIDx0
cj48dGQ+Q2VsbDwvdGQ+PC90cj4KICAgIDx0cj48dGQ+PGlucHV0IHR5cGU9InRleHQiPjwvdGQ+
PC90cj4KICA8L3RhYmxlPgoKICA8ZGl2IGNsYXNzPSJjb21wb3NpdGluZyI+PC9kaXY+Cgo8L2Jv
ZHk+CjwvaHRtbD4=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>45586</attachid>
            <date>2009-12-28 20:48:05 -0800</date>
            <delta_ts>2009-12-28 20:49:11 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>32874_patch.txt</filename>
            <type>text/plain</type>
            <size>1590</size>
            <attacher name="Simon Fraser (smfr)">simon.fraser</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9nIGIvV2ViQ29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tpYS5jb20+CiAKICAg
ICAgICAgUmV2aWV3ZWQgYnkgQWRhbSBCYXJ0aC4KZGlmZiAtLWdpdCBhL1dlYkNvcmUvcmVuZGVy
aW5nL1JlbmRlclRhYmxlQ2VsbC5jcHAgYi9XZWJDb3JlL3JlbmRlcmluZy9SZW5kZXJUYWJsZUNl
bGwuY3BwCmluZGV4IGJiYWQ2MDUuLjE1NDU5Y2UgMTAwNjQ0Ci0tLSBhL1dlYkNvcmUvcmVuZGVy
aW5nL1JlbmRlclRhYmxlQ2VsbC5jcHAKKysrIGIvV2ViQ29yZS9yZW5kZXJpbmcvUmVuZGVyVGFi
bGVDZWxsLmNwcApAQCAtMjIzLDcgKzIyMyw3IEBAIHZvaWQgUmVuZGVyVGFibGVDZWxsOjpjb21w
dXRlUmVjdEZvclJlcGFpbnQoUmVuZGVyQm94TW9kZWxPYmplY3QqIHJlcGFpbnRDb250YWluCiAg
ICAgICAgIHJldHVybjsKICAgICByLnNldFkoci55KCkpOwogICAgIFJlbmRlclZpZXcqIHYgPSB2
aWV3KCk7Ci0gICAgaWYgKCghdiB8fCAhdi0+bGF5b3V0U3RhdGVFbmFibGVkKCkpICYmIHBhcmVu
dCgpKQorICAgIGlmICgoIXYgfHwgIXYtPmxheW91dFN0YXRlRW5hYmxlZCgpIHx8IHJlcGFpbnRD
b250YWluZXIpICYmIHBhcmVudCgpKQogICAgICAgICByLm1vdmUoLXBhcmVudEJveCgpLT54KCks
IC1wYXJlbnRCb3goKS0+eSgpKTsgLy8gUm93cyBhcmUgaW4gdGhlIHNhbWUgY29vcmRpbmF0ZSBz
cGFjZSwgc28gZG9uJ3QgYWRkIHRoZWlyIG9mZnNldCBpbi4KICAgICBSZW5kZXJCbG9jazo6Y29t
cHV0ZVJlY3RGb3JSZXBhaW50KHJlcGFpbnRDb250YWluZXIsIHIsIGZpeGVkKTsKIH0K
</data>
<flag name="review"
          id="27651"
          type_id="1"
          status="+"
          setter="mitz"
    />
          </attachment>
      

    </bug>

</bugzilla>