Bug 32822

Summary: WebCore::ApplyStyleCommand::removeInlineStyle ReadAV@NULL (18fa82a60d48c7965db66b916a546328)
Product: WebKit Reporter: Berend-Jan Wever <skylined>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: enrica, eric, webkit9
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows Vista   
URL: http://skypher.com/SkyLined/Repro/WebKit/Bug%2032822%20-%20WebCore..ApplyStyleCommand..removeInlineStyle%20ReadAV@NULL%20(18fa82a60d48c7965db66b916a546328)/repro.html
Attachments:
Description Flags
Repro none

Description Berend-Jan Wever 2009-12-21 06:52:03 PST
Created attachment 45326 [details]
Repro

Id:          WebCore::ApplyStyleCommand::removeInlineStyle ReadAV@NULL (18fa82a60d48c7965db66b916a546328)
Description: Attempt to read from NULL pointer in WebCore::ApplyStyleCommand::removeInlineStyle
Stack:
  WebCore::ApplyStyleCommand::removeInlineStyle
  WebCore::ApplyStyleCommand::applyInlineStyle
  WebCore::ApplyStyleCommand::doApply
  WebCore::EditCommand::apply
  WebCore::applyCommand
  WebCore::Editor::applyStyle
  WebCore::executeApplyStyle
  WebCore::executeForeColor
  WebCore::Editor::Command::execute
  WebCore::Document::execCommand
  WebCore::DocumentInternal::execCommandCallback
Repro:
<BODY></BODY>
<SCRIPT>
  document.designMode="on";
  document.execCommand("selectall");
  document.execCommand("InsertHorizontalRule");
  document.execCommand("SelectAll");
  document.execCommand("ForwardDelete");
  document.designMode="off";
  document.execCommand("undo");
  document.designMode="on";
  document.execCommand("ForeColor",false,3);
</SCRIPT>
Comment 1 Berend-Jan Wever 2009-12-21 06:53:38 PST
Online repro
Comment 2 Mike Moretti 2009-12-30 10:18:25 PST
This bug is a dup of 32823; it's the "undo" in designMode off that causes the problem.
Comment 3 Berend-Jan Wever 2009-12-31 02:25:30 PST

*** This bug has been marked as a duplicate of bug 32823 ***