<?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>19220</bug_id>
          
          <creation_ts>2008-05-23 12:08:17 -0700</creation_ts>
          <short_desc>ASSERT in RenderBlock::addChildToFlow triggered by editing code</short_desc>
          <delta_ts>2008-06-27 09:44:11 -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>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>18858</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>hyatt</cc>
    
    <cc>justin.garcia</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>81330</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-05-23 12:08:17 -0700</bug_when>
    <thetext>ASSERT in RenderBlock::addChildToFlow triggered by editing code

ASSERTION FAILED: beforeChild-&gt;parent()-&gt;isAnonymousBlock()
(/Users/eseidel/Projects/WebKit/WebCore/rendering/RenderBlock.cpp:162 virtual void WebCore::RenderBlock::addChildToFlow(WebCore::RenderObject*, WebCore::RenderObject*))

Yet another failure from the editing fuzzer.

&lt;BODY&gt;&lt;SCRIPT&gt;
document.designMode = &apos;on&apos;;
document.execCommand(&apos;selectall&apos;);
document.execCommand(&apos;inserthtml&apos;, false, &apos;&lt;td&gt;&apos;);
document.execCommand(&apos;indent&apos;);
&lt;/SCRIPT&gt;

Does not crash release builds, debug only.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81331</commentid>
    <comment_count>1</comment_count>
      <attachid>21318</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-05-23 12:08:44 -0700</bug_when>
    <thetext>Created attachment 21318
test case (triggers ASSERT in debug builds)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83145</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-06-12 21:17:18 -0700</bug_when>
    <thetext>See also: bug 19519.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84587</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-06-27 09:44:11 -0700</bug_when>
    <thetext>This no longer ASSERTS for me in TOT.  Justin must have fixed this as part of other editing changes.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>21318</attachid>
            <date>2008-05-23 12:08:44 -0700</date>
            <delta_ts>2008-05-23 12:08:44 -0700</delta_ts>
            <desc>test case (triggers ASSERT in debug builds)</desc>
            <filename>test.html</filename>
            <type>text/html</type>
            <size>170</size>
            <attacher name="Eric Seidel (no email)">eric</attacher>
            
              <data encoding="base64">PEJPRFk+PFNDUklQVD4KZG9jdW1lbnQuZGVzaWduTW9kZSA9ICdvbic7CmRvY3VtZW50LmV4ZWND
b21tYW5kKCdzZWxlY3RhbGwnKTsKZG9jdW1lbnQuZXhlY0NvbW1hbmQoJ2luc2VydGh0bWwnLCBm
YWxzZSwgJzx0ZD4nKTsKZG9jdW1lbnQuZXhlY0NvbW1hbmQoJ2luZGVudCcpOwo8L1NDUklQVD4=
</data>

          </attachment>
      

    </bug>

</bugzilla>