<?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>131109</bug_id>
          
          <creation_ts>2014-04-02 08:52:44 -0700</creation_ts>
          <short_desc>ASSERTION FAILED: pos.deprecatedNode()-&gt;renderer() WebCore::CompositeEditCommand::insertBlockPlaceholder(const WebCore::Position&amp;)</short_desc>
          <delta_ts>2016-08-03 14:14:06 -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>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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>
          
          <blocked>116980</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Martin Hodovan">mhodovan.u-szeged</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>harrison</cc>
    
    <cc>justin.garcia</cc>
    
    <cc>rhodovan.u-szeged</cc>
    
    <cc>rniwa</cc>
    
    <cc>tkent</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>996724</commentid>
    <comment_count>0</comment_count>
      <attachid>228398</attachid>
    <who name="Martin Hodovan">mhodovan.u-szeged</who>
    <bug_when>2014-04-02 08:52:44 -0700</bug_when>
    <thetext>Created attachment 228398
Test case

The failing test case:

&lt;body onpageshow=&apos;document.execCommand(&quot;insertunorderedlist&quot;, true, null)&apos; contenteditable=&quot;true&quot;&gt;
 &lt;table contenteditable=&quot;false&quot;&gt;
  &lt;td&gt;
   &lt;sup hidden contenteditable=&quot;true&quot;&gt;
    &lt;svg&gt;
     &lt;animatetransform onload=&apos;document.execCommand(&quot;selectall&quot;, true, null)&apos;&gt;&lt;/animatetransform&gt;


The backtrace:

#1  0x00007ffff0b19d69 in WebCore::CompositeEditCommand::insertBlockPlaceholder (this=0x8055e0, pos=...)
    at /home/martin/Data/WebKit/Source/WebCore/editing/CompositeEditCommand.cpp:925
#2  0x00007ffff0b26fb7 in WebCore::DeleteSelectionCommand::removeNode (this=0x8055e0, node=..., 
    shouldAssumeContentIsAlwaysEditable=WebCore::DoNotAssumeContentIsAlwaysEditable) at /home/martin/Data/WebKit/Source/WebCore/editing/DeleteSelectionCommand.cpp:391
#3  0x00007ffff0b26ea3 in WebCore::DeleteSelectionCommand::removeNode (this=0x8055e0, node=..., 
    shouldAssumeContentIsAlwaysEditable=WebCore::DoNotAssumeContentIsAlwaysEditable) at /home/martin/Data/WebKit/Source/WebCore/editing/DeleteSelectionCommand.cpp:382
#4  0x00007ffff0b26ea3 in WebCore::DeleteSelectionCommand::removeNode (this=0x8055e0, node=..., 
    shouldAssumeContentIsAlwaysEditable=WebCore::DoNotAssumeContentIsAlwaysEditable) at /home/martin/Data/WebKit/Source/WebCore/editing/DeleteSelectionCommand.cpp:382
#5  0x00007ffff0b17058 in WebCore::CompositeEditCommand::removeChildrenInRange (this=0x8055e0, node=..., from=0, to=2)
    at /home/martin/Data/WebKit/Source/WebCore/editing/CompositeEditCommand.cpp:409
#6  0x00007ffff0b27a8b in WebCore::DeleteSelectionCommand::handleGeneralDelete (this=0x8055e0)
    at /home/martin/Data/WebKit/Source/WebCore/editing/DeleteSelectionCommand.cpp:489
#7  0x00007ffff0b2a0de in WebCore::DeleteSelectionCommand::doApply (this=0x8055e0) at /home/martin/Data/WebKit/Source/WebCore/editing/DeleteSelectionCommand.cpp:848
#8  0x00007ffff0b1628c in WebCore::CompositeEditCommand::applyCommandToComposite (this=0x7bff40, prpCommand=...)
    at /home/martin/Data/WebKit/Source/WebCore/editing/CompositeEditCommand.cpp:278
#9  0x00007ffff0b185e2 in WebCore::CompositeEditCommand::deleteSelection (this=0x7bff40, smartDelete=false, mergeBlocksAfterDelete=false, replace=false, 
    expandForSpecialElements=false, sanitizeMarkup=true) at /home/martin/Data/WebKit/Source/WebCore/editing/CompositeEditCommand.cpp:643
#10 0x00007ffff0b1c156 in WebCore::CompositeEditCommand::moveParagraphs (this=0x7bff40, startOfParagraphToMove=..., endOfParagraphToMove=..., destination=..., 
    preserveSelection=true, preserveStyle=true) at /home/martin/Data/WebKit/Source/WebCore/editing/CompositeEditCommand.cpp:1284
#11 0x00007ffff0b1b8d7 in WebCore::CompositeEditCommand::moveParagraph (this=0x7bff40, startOfParagraphToMove=..., endOfParagraphToMove=..., destination=..., 
    preserveSelection=true, preserveStyle=true) at /home/martin/Data/WebKit/Source/WebCore/editing/CompositeEditCommand.cpp:1208
#12 0x00007ffff0b672b6 in WebCore::InsertListCommand::listifyParagraph (this=0x7bff40, originalStart=..., listTag=...)
    at /home/martin/Data/WebKit/Source/WebCore/editing/InsertListCommand.cpp:393
#13 0x00007ffff0b66176 in WebCore::InsertListCommand::doApplyForSingleParagraph (this=0x7bff40, forceCreateList=false, listTag=..., currentSelection=0x7c9350)
    at /home/martin/Data/WebKit/Source/WebCore/editing/InsertListCommand.cpp:256
#14 0x00007ffff0b657fb in WebCore::InsertListCommand::doApply (this=0x7bff40) at /home/martin/Data/WebKit/Source/WebCore/editing/InsertListCommand.cpp:192
#15 0x00007ffff0b1604b in WebCore::CompositeEditCommand::apply (this=0x7bff40) at /home/martin/Data/WebKit/Source/WebCore/editing/CompositeEditCommand.cpp:227
#16 0x00007ffff0b15e3f in WebCore::applyCommand (command=...) at /home/martin/Data/WebKit/Source/WebCore/editing/CompositeEditCommand.cpp:182
#17 0x00007ffff0b4f02f in WebCore::executeInsertUnorderedList (frame=...) at /home/martin/Data/WebKit/Source/WebCore/editing/EditorCommand.cpp:575
#18 0x00007ffff0b51f82 in WebCore::Editor::Command::execute (this=0x7fffffffcaa0, parameter=..., triggeringEvent=0x0)
    at /home/martin/Data/WebKit/Source/WebCore/editing/EditorCommand.cpp:1741
#19 0x00007ffff0a0a148 in WebCore::Document::execCommand (this=0x6f4ab0, commandName=..., userInterface=true, value=...)
    at /home/martin/Data/WebKit/Source/WebCore/dom/Document.cpp:4221
#20 0x00007ffff19f50d1 in WebCore::jsDocumentPrototypeFunctionExecCommand (exec=0x7fffffffcba0)
    at /home/martin/Data/WebKit/WebKitBuild/Debug/DerivedSources/WebCore/JSDocument.cpp:4730
#21 0x00007fff9a6640b4 in ?? ()
#22 0x00007fffffffcc00 in ?? ()
#23 0x00007ffff5978735 in llint_op_call () from /home/martin/Data/WebKit/WebKitBuild/Debug/lib/libjavascriptcore_efl.so.0
#24 0x0000000000000000 in ?? ()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1217179</commentid>
    <comment_count>1</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2016-08-03 14:12:36 -0700</bug_when>
    <thetext>This reproduces in r204037.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1217180</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2016-08-03 14:14:06 -0700</bug_when>
    <thetext>&lt;rdar://problem/27685600&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>228398</attachid>
            <date>2014-04-02 08:52:44 -0700</date>
            <delta_ts>2014-04-02 08:52:44 -0700</delta_ts>
            <desc>Test case</desc>
            <filename>test.html</filename>
            <type>text/html</type>
            <size>285</size>
            <attacher name="Martin Hodovan">mhodovan.u-szeged</attacher>
            
              <data encoding="base64">PGJvZHkgb25wYWdlc2hvdz0nZG9jdW1lbnQuZXhlY0NvbW1hbmQoImluc2VydHVub3JkZXJlZGxp
c3QiLCB0cnVlLCBudWxsKScgY29udGVudGVkaXRhYmxlPSJ0cnVlIj4KIDx0YWJsZSBjb250ZW50
ZWRpdGFibGU9ImZhbHNlIj4KICA8dGQ+CiAgIDxzdXAgaGlkZGVuIGNvbnRlbnRlZGl0YWJsZT0i
dHJ1ZSI+CiAgICA8c3ZnPgogICAgIDxhbmltYXRldHJhbnNmb3JtIG9ubG9hZD0nZG9jdW1lbnQu
ZXhlY0NvbW1hbmQoInNlbGVjdGFsbCIsIHRydWUsIG51bGwpJz48L2FuaW1hdGV0cmFuc2Zvcm0+
</data>

          </attachment>
      

    </bug>

</bugzilla>