<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - ASSERTION FAILED: !textNode.renderer() || textNode.renderer()-&gt;style().collapseWhiteSpace() in WebCore::DeleteSelectionCommand::fixupWhitespace"
   href="https://bugs.webkit.org/show_bug.cgi?id=151600">151600</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>ASSERTION FAILED: !textNode.renderer() || textNode.renderer()-&gt;style().collapseWhiteSpace() in WebCore::DeleteSelectionCommand::fixupWhitespace
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Local Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>HTML Editing
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>rhodovan.u-szeged&#64;partner.samsung.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>cdumez&#64;apple.com
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>116980
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=266158" name="attach_266158" title="Test">attachment 266158</a> <a href="attachment.cgi?id=266158&amp;action=edit" title="Test">[details]</a></span>
Test

Load the attached test with debug MiniBrowser:

&lt;script&gt;
window.onload = function() {
    document.designMode = 'on';
    document.execCommand('selectAll');
    document.execCommand('indent');
}
&lt;/script&gt;
&lt;style&gt;
h2::first-letter, * {
    white-space: pre-wrap;
}
&lt;/style&gt;
&lt;h2&gt;x4&amp;#0476341; &lt;/h2&gt;


OS: Ubuntu 15.10 x86_64
Checked build: debug EFL
Checked version: 3898028


Backtrace:

ASSERTION FAILED: !textNode.renderer() || textNode.renderer()-&gt;style().collapseWhiteSpace()
../../Source/WebCore/editing/DeleteSelectionCommand.cpp(584) : void WebCore::DeleteSelectionCommand::fixupWhitespace()
1   0x7f076c5b874e WTFCrash
2   0x7f076be7d0ce WebCore::DeleteSelectionCommand::fixupWhitespace()
3   0x7f076be7f156 WebCore::DeleteSelectionCommand::doApply()
4   0x7f076be67676 WebCore::CompositeEditCommand::applyCommandToComposite(WTF::PassRefPtr&lt;WebCore::EditCommand&gt;)
5   0x7f076be6af95 WebCore::CompositeEditCommand::deleteSelection(bool, bool, bool, bool, bool)
6   0x7f076be6ed40 WebCore::CompositeEditCommand::moveParagraphWithClones(WebCore::VisiblePosition const&amp;, WebCore::VisiblePosition const&amp;, WebCore::Element*, WebCore::Node*)
7   0x7f076acb7568 WebCore::IndentOutdentCommand::indentIntoBlockquote(WebCore::Position const&amp;, WebCore::Position const&amp;, WTF::RefPtr&lt;WebCore::Element&gt;&amp;)
8   0x7f076acb8e0a WebCore::IndentOutdentCommand::formatRange(WebCore::Position const&amp;, WebCore::Position const&amp;, WebCore::Position const&amp;, WTF::RefPtr&lt;WebCore::Element&gt;&amp;)
9   0x7f076be51fa7 WebCore::ApplyBlockElementCommand::formatSelection(WebCore::VisiblePosition const&amp;, WebCore::VisiblePosition const&amp;)
10  0x7f076acb8d8b WebCore::IndentOutdentCommand::formatSelection(WebCore::VisiblePosition const&amp;, WebCore::VisiblePosition const&amp;)
11  0x7f076be51216 WebCore::ApplyBlockElementCommand::doApply()
12  0x7f076be673a0 WebCore::CompositeEditCommand::apply()
13  0x7f076be67167 WebCore::applyCommand(WTF::PassRefPtr&lt;WebCore::CompositeEditCommand&gt;)
14  0x7f076ac9ee22
15  0x7f076aca30ca WebCore::Editor::Command::execute(WTF::String const&amp;, WebCore::Event*) const
16  0x7f076ab4488d WebCore::Document::execCommand(WTF::String const&amp;, bool, WTF::String const&amp;)
17  0x7f076c2a70c9 WebCore::jsDocumentPrototypeFunctionExecCommand(JSC::ExecState*)
18  0x7f07077ff0c8
Aborted (core dumped)

Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f076c5b8753 in WTFCrash () at ../../Source/WTF/wtf/Assertions.cpp:321
321     *(int *)(uintptr_t)0xbbadbeef = 0;
[Current thread is 1 (Thread 0x7f0770106a80 (LWP 8153))]
#0  0x00007f076c5b8753 in WTFCrash () at ../../Source/WTF/wtf/Assertions.cpp:321
#1  0x00007f076be7d0ce in WebCore::DeleteSelectionCommand::fixupWhitespace (this=0x7f0747a91dc8) at ../../Source/WebCore/editing/DeleteSelectionCommand.cpp:584
#2  0x00007f076be7f156 in WebCore::DeleteSelectionCommand::doApply (this=0x7f0747a91dc8) at ../../Source/WebCore/editing/DeleteSelectionCommand.cpp:849
#3  0x00007f076be67676 in WebCore::CompositeEditCommand::applyCommandToComposite (this=0x7f0747a8a000, prpCommand=...) at ../../Source/WebCore/editing/CompositeEditCommand.cpp:278
#4  0x00007f076be6af95 in WebCore::CompositeEditCommand::deleteSelection (this=0x7f0747a8a000, smartDelete=false, mergeBlocksAfterDelete=false, replace=false, expandForSpecialElements=false, sanitizeMarkup=true) at ../../Source/WebCore/editing/CompositeEditCommand.cpp:644
#5  0x00007f076be6ed40 in WebCore::CompositeEditCommand::moveParagraphWithClones (this=0x7f0747a8a000, startOfParagraphToMove=..., endOfParagraphToMove=..., blockElement=0x7f0747be3af8, outerNode=0x7f0747be39c0) at ../../Source/WebCore/editing/CompositeEditCommand.cpp:1184
#6  0x00007f076acb7568 in WebCore::IndentOutdentCommand::indentIntoBlockquote (this=0x7f0747a8a000, start=..., end=..., targetBlockquote=...) at ../../Source/WebCore/editing/IndentOutdentCommand.cpp:117
#7  0x00007f076acb8e0a in WebCore::IndentOutdentCommand::formatRange (this=0x7f0747a8a000, start=..., end=..., blockquoteForNextIndent=...) at ../../Source/WebCore/editing/IndentOutdentCommand.cpp:236
#8  0x00007f076be51fa7 in WebCore::ApplyBlockElementCommand::formatSelection (this=0x7f0747a8a000, startOfSelection=..., endOfSelection=...) at ../../Source/WebCore/editing/ApplyBlockElementCommand.cpp:145
#9  0x00007f076acb8d8b in WebCore::IndentOutdentCommand::formatSelection (this=0x7f0747a8a000, startOfSelection=..., endOfSelection=...) at ../../Source/WebCore/editing/IndentOutdentCommand.cpp:226
#10 0x00007f076be51216 in WebCore::ApplyBlockElementCommand::doApply (this=0x7f0747a8a000) at ../../Source/WebCore/editing/ApplyBlockElementCommand.cpp:90
#11 0x00007f076be673a0 in WebCore::CompositeEditCommand::apply (this=0x7f0747a8a000) at ../../Source/WebCore/editing/CompositeEditCommand.cpp:227
#12 0x00007f076be67167 in WebCore::applyCommand (command=...) at ../../Source/WebCore/editing/CompositeEditCommand.cpp:186
#13 0x00007f076ac9ee22 in WebCore::executeIndent (frame=...) at ../../Source/WebCore/editing/EditorCommand.cpp:456
#14 0x00007f076aca30ca in WebCore::Editor::Command::execute (this=0x7ffd211d3cc0, parameter=..., triggeringEvent=0x0) at ../../Source/WebCore/editing/EditorCommand.cpp:1703
#15 0x00007f076ab4488d in WebCore::Document::execCommand (this=0x7f074781d900, commandName=..., userInterface=false, value=...) at ../../Source/WebCore/dom/Document.cpp:4657
#16 0x00007f076c2a70c9 in WebCore::jsDocumentPrototypeFunctionExecCommand (state=0x7ffd211d3d90) at DerivedSources/WebCore/JSDocument.cpp:5066
#17 0x00007f07077ff0c8 in ?? ()
#18 0x00007ffd211d3e10 in ?? ()
#19 0x00007f075fd95d98 in llint_entry () from webkit/WebKitBuild/Debug/lib/libjavascriptcore_efl.so.1</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>