<?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>97763</bug_id>
          
          <creation_ts>2012-09-27 00:31:48 -0700</creation_ts>
          <short_desc>REGRESSION(r129186): Pressing enter at the end of a line deletes the line</short_desc>
          <delta_ts>2012-09-27 16:24:55 -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>HTML Editing</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>jochen</reporter>
          <assigned_to name="Levi Weintraub">leviw</assigned_to>
          <cc>ap</cc>
    
    <cc>enrica</cc>
    
    <cc>eric</cc>
    
    <cc>inferno</cc>
    
    <cc>leviw</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>729279</commentid>
    <comment_count>0</comment_count>
    <who name="">jochen</who>
    <bug_when>2012-09-27 00:31:48 -0700</bug_when>
    <thetext>Steps to reproduce:

1.  I reply to an HTML email in Gmail
2. I put the cursor at the end of a quoted paragraph
3. I press enter

expected result:
- new line after the paragraph is started

observed:
- new line is started, but the text of the paragraph is gone

I checked that rolling out this revision fixes the issue</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>729405</commentid>
    <comment_count>1</comment_count>
    <who name="Abhishek Arya">inferno</who>
    <bug_when>2012-09-27 04:12:58 -0700</bug_when>
    <thetext>Check out comment in chromium bug and please add a link here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>729412</commentid>
    <comment_count>2</comment_count>
    <who name="">jochen</who>
    <bug_when>2012-09-27 04:23:07 -0700</bug_when>
    <thetext>I figured that I shouldn&apos;t just roll out a security fix, yes :)

Here&apos;s the chromium bug:
http://code.google.com/p/chromium/issues/detail?id=152629

It&apos;s a bit sad that this didn&apos;t break any test</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>729730</commentid>
    <comment_count>3</comment_count>
    <who name="Levi Weintraub">leviw</who>
    <bug_when>2012-09-27 11:30:23 -0700</bug_when>
    <thetext>I was able to reproduce this with the canary.

I&apos;m not as surprised this doesn&apos;t break any tests, as there&apos;s something specific to the gmail case that&apos;s breaking this. The same operation in yahoo mail or in an editor such as rniwa&apos;s simple-rte (I copied the source of the email I was repro-ing with into his editor) doesn&apos;t reproduce.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>729808</commentid>
    <comment_count>4</comment_count>
    <who name="Levi Weintraub">leviw</who>
    <bug_when>2012-09-27 13:25:22 -0700</bug_when>
    <thetext>Managed to get a stacktrace on the bad access. Added that top function for debugging purposes ;)

This is an issue we&apos;ve seen before, where Layout has occurred, but something went wrong in Layout where things were dirtied during layout (I&apos;ve seen this) or not everything in the tree was laid out (I haven&apos;t seen this).

Since I can only get this to repro in GMail, a reduction is going to be really difficult.

#0  WebCore::InlineTextBox::OMGPROBLEM (this=0x7f121431cd98) at ../../third_party/WebKit/Source/WebCore/rendering/InlineTextBox.cpp:177
#1  0x0000000001bb6c5e in WebCore::InlineTextBox::start (this=0x7f121431cd98) at ../../third_party/WebKit/Source/WebCore/rendering/InlineTextBox.h:72
#2  0x0000000002d8272e in WebCore::Position::upstream (this=0x7fff12a61660, rule=WebCore::CannotCrossEditingBoundary) at ../../third_party/WebKit/Source/WebCore/dom/Position.cpp:675
#3  0x00000000023c8e2b in WebCore::VisiblePosition::canonicalPosition (this=0x7fff12a61770, passedPosition=...) at ../../third_party/WebKit/Source/WebCore/editing/VisiblePosition.cpp:523
#4  0x00000000023c6efb in WebCore::VisiblePosition::init (this=0x7fff12a61770, position=..., affinity=WebCore::DOWNSTREAM) at ../../third_party/WebKit/Source/WebCore/editing/VisiblePosition.cpp:58
#5  0x00000000023c6ec1 in VisiblePosition (this=0x7fff12a61770, pos=..., affinity=WebCore::DOWNSTREAM) at ../../third_party/WebKit/Source/WebCore/editing/VisiblePosition.cpp:51
#6  0x000000000239724e in WebCore::FrameSelection::localCaretRect (this=0x7f1213e1b7d0) at ../../third_party/WebKit/Source/WebCore/editing/FrameSelection.cpp:1251
#7  0x00000000023975f6 in WebCore::FrameSelection::recomputeCaretRect (this=0x7f1213e1b7d0) at ../../third_party/WebKit/Source/WebCore/editing/FrameSelection.cpp:1304
#8  0x0000000002399664 in WebCore::FrameSelection::updateAppearance (this=0x7f1213e1b7d0) at ../../third_party/WebKit/Source/WebCore/editing/FrameSelection.cpp:1701
#9  0x00000000025919e2 in WebCore::FrameView::performPostLayoutTasks (this=0x7f121376f380) at ../../third_party/WebKit/Source/WebCore/page/FrameView.cpp:2435
#10 0x000000000258d099 in WebCore::FrameView::layout (this=0x7f121376f380, allowSubtree=true) at ../../third_party/WebKit/Source/WebCore/page/FrameView.cpp:1235
#11 0x0000000002cdb484 in WebCore::Document::updateLayout (this=0x7f12134ad000) at ../../third_party/WebKit/Source/WebCore/dom/Document.cpp:1928
#12 0x0000000002cdb555 in WebCore::Document::updateLayoutIgnorePendingStylesheets (this=0x7f12134ad000) at ../../third_party/WebKit/Source/WebCore/dom/Document.cpp:1960
#13 0x00000000023c8e03 in WebCore::VisiblePosition::canonicalPosition (this=0x7fff12a61e20, passedPosition=...) at ../../third_party/WebKit/Source/WebCore/editing/VisiblePosition.cpp:519
#14 0x00000000023c6efb in WebCore::VisiblePosition::init (this=0x7fff12a61e20, position=..., affinity=WebCore::DOWNSTREAM) at ../../third_party/WebKit/Source/WebCore/editing/VisiblePosition.cpp:58
#15 0x00000000023c6ec1 in VisiblePosition (this=0x7fff12a61e20, pos=..., affinity=WebCore::DOWNSTREAM) at ../../third_party/WebKit/Source/WebCore/editing/VisiblePosition.cpp:51
#16 0x00000000039ba2d7 in WebCore::DOMSelection::collapse (this=0x7f1215099b90, node=0x7f1213a60380, offset=0, ec=@0x7fff12a61f0c) at ../../third_party/WebKit/Source/WebCore/page/DOMSelection.cpp:210
#17 0x00000000032c6a80 in collapseCallback (args=...) at gen/webcore/bindings/V8DOMSelection.cpp:131
#18 0x000000000149c3ea in HandleApiCallHelper&lt;false&gt; (args=..., isolate=0x7f1223c42000) at ../../v8/src/builtins.cc:1146
#19 0x0000000001497049 in Builtin_Impl_HandleApiCall (args=..., isolate=0x7f1223c42000) at ../../v8/src/builtins.cc:1164
#20 0x000000000149701a in Builtin_HandleApiCall (args=..., isolate=0x7f1223c42000) at ../../v8/src/builtins.cc:1163</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>729831</commentid>
    <comment_count>5</comment_count>
    <who name="Levi Weintraub">leviw</who>
    <bug_when>2012-09-27 13:51:03 -0700</bug_when>
    <thetext>Some more info: the renderers are *not* dirty. Only the lines are.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>729857</commentid>
    <comment_count>6</comment_count>
    <who name="Levi Weintraub">leviw</who>
    <bug_when>2012-09-27 14:20:42 -0700</bug_when>
    <thetext>Okay... I&apos;ve got the root cause. It&apos;s an optimization in RenderText.

RenderText::setTextWithOffset gets called by editing code to replace the line you were on when you hit enter with a copy of the same text. We dirty the lines in setTextWithOffset, then call RenderText::setText, which should mark us as needing layout. Instead, we check to see if the new text and the current text are equal, and if they are, we return early to avoid layout and pref width recalc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>729923</commentid>
    <comment_count>7</comment_count>
      <attachid>166072</attachid>
    <who name="Levi Weintraub">leviw</who>
    <bug_when>2012-09-27 15:33:19 -0700</bug_when>
    <thetext>Created attachment 166072
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>729943</commentid>
    <comment_count>8</comment_count>
      <attachid>166072</attachid>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-09-27 15:46:07 -0700</bug_when>
    <thetext>Comment on attachment 166072
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=166072&amp;action=review

&gt; Source/WebCore/rendering/RenderText.cpp:1331
&gt; +    setText(text, force || dirtiedLines);

I talked with Levi in person but there are two options here. One is to force re-layout like we&apos;re doing in this patch. Another option is to add equal() check in setTextWithOffset here as well. The only problem is that we&apos;ll then be calling equal() twice when setTextWithOffset is called with unequal text.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>729951</commentid>
    <comment_count>9</comment_count>
    <who name="Levi Weintraub">leviw</who>
    <bug_when>2012-09-27 15:50:11 -0700</bug_when>
    <thetext>(In reply to comment #8)
&gt; (From update of attachment 166072 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=166072&amp;action=review
&gt; 
&gt; &gt; Source/WebCore/rendering/RenderText.cpp:1331
&gt; &gt; +    setText(text, force || dirtiedLines);
&gt; 
&gt; I talked with Levi in person but there are two options here. One is to force re-layout like we&apos;re doing in this patch. Another option is to add equal() check in setTextWithOffset here as well. The only problem is that we&apos;ll then be calling equal() twice when setTextWithOffset is called with unequal text.

Actually, we just need to combine the two. If we bail early in setTextWithOffset we&apos;re fine, and if we don&apos;t, we can call with force to skip the comparison :)

I&apos;ll re-upload shortly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>729952</commentid>
    <comment_count>10</comment_count>
      <attachid>166083</attachid>
    <who name="Levi Weintraub">leviw</who>
    <bug_when>2012-09-27 15:54:31 -0700</bug_when>
    <thetext>Created attachment 166083
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>729962</commentid>
    <comment_count>11</comment_count>
      <attachid>166083</attachid>
    <who name="Levi Weintraub">leviw</who>
    <bug_when>2012-09-27 16:00:24 -0700</bug_when>
    <thetext>Comment on attachment 166083
Patch

Thanks for the extremely rapid turnaround, rniwa!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>729979</commentid>
    <comment_count>12</comment_count>
      <attachid>166083</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-09-27 16:24:50 -0700</bug_when>
    <thetext>Comment on attachment 166083
Patch

Clearing flags on attachment: 166083

Committed r129814: &lt;http://trac.webkit.org/changeset/129814&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>729980</commentid>
    <comment_count>13</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-09-27 16:24:55 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>166072</attachid>
            <date>2012-09-27 15:33:19 -0700</date>
            <delta_ts>2012-09-27 15:54:28 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-97763-20120927153237.patch</filename>
            <type>text/plain</type>
            <size>1677</size>
            <attacher name="Levi Weintraub">leviw</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDEyOTgwNikKKysrIFNvdXJjZS9XZWJDb3JlL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDIyIEBACisyMDEyLTA5LTI3ICBMZXZpIFdl
aW50cmF1YiAgPGxldml3QGNocm9taXVtLm9yZz4KKworICAgICAgICBSRUdSRVNTSU9OKHIxMjkx
ODYpOiBQcmVzc2luZyBlbnRlciBhdCB0aGUgZW5kIG9m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AxMi0wOS0yNyAgSm9zaHVh
IEJlbGwgIDxqc2JlbGxAY2hyb21pdW0ub3JnPgogCiAgICAgICAgIEluZGV4ZWREQjogT3B0aW1p
emUgZW5jb2RlU3RyaW5nL2RlY29kZVN0cmluZwpJbmRleDogU291cmNlL1dlYkNvcmUvcmVuZGVy
aW5nL1JlbmRlclRleHQuY3BwCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFNvdXJjZS9XZWJDb3JlL3JlbmRlcmlu
Zy9SZW5kZXJUZXh0LmNwcAkocmV2aXNpb24gMTI5Nzg2KQorKysgU291cmNlL1dlYkNvcmUvcmVu
ZGVyaW5nL1JlbmRlclRleHQuY3BwCSh3b3JraW5nIGNvcHkpCkBAIC0xMzI4LDcgKzEzMjgsNyBA
QCB2b2lkIFJlbmRlclRleHQ6OnNldFRleHRXaXRoT2Zmc2V0KFBhc3NSCiAgICAgfQogCiAgICAg
bV9saW5lc0RpcnR5ID0gZGlydGllZExpbmVzOwotICAgIHNldFRleHQodGV4dCwgZm9yY2UpOwor
ICAgIHNldFRleHQodGV4dCwgZm9yY2UgfHwgZGlydGllZExpbmVzKTsKIH0KIAogdm9pZCBSZW5k
ZXJUZXh0Ojp0cmFuc2Zvcm1UZXh0KCkK
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>166083</attachid>
            <date>2012-09-27 15:54:31 -0700</date>
            <delta_ts>2012-09-27 16:24:50 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-97763-20120927155350.patch</filename>
            <type>text/plain</type>
            <size>2165</size>
            <attacher name="Levi Weintraub">leviw</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3V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