<?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>11077</bug_id>
          
          <creation_ts>2006-09-28 09:21:35 -0700</creation_ts>
          <short_desc>Writely Editor: Crash occurs at WebCore::maxDeepOffset(WebCore::Node const*) when attempting to create a OL/UL following a HR element</short_desc>
          <delta_ts>2006-10-02 18:12:57 -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>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>GoogleBug, InRadar</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>7712</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Chris Petersen">c.petersen87</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>56721</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Petersen">c.petersen87</who>
    <bug_when>2006-09-28 09:21:35 -0700</bug_when>
    <thetext>* SUMMARY
A crash occurs when attempting to create a OL/UL that follows a HR element

* STEPS TO REPRODUCE
1. With TOT webkit r16608 , login to your writely account (with gmail user name/password)
2. Create a new document (click new link)
3. From the Insert menu, select Horizontal Line
4. After HR is displayed, click on either the Numbered List or Ordered List icon
5. Crash occurs

* RESULTS
Unordered/Ordered list should be created below the HR element but instead a crash occurs


Thread 0 Crashed:
0   com.apple.WebCore        	0x011eb9e4 WebCore::maxDeepOffset(WebCore::Node const*) + 16
1   com.apple.WebCore        	0x011fdc39 WebCore::ReplaceSelectionCommand::doApply() + 2361
2   com.apple.WebCore        	0x011e9d96 WebCore::EditCommand::apply() + 40
3   com.apple.WebCore        	0x011dfb73 WebCore::CompositeEditCommand::applyCommandToComposite(WTF::PassRefPtr&lt;WebCore::EditCommand&gt;) + 41
4   com.apple.WebCore        	0x011e3100 WebCore::CompositeEditCommand::moveParagraphs(WebCore::VisiblePosition const&amp;, WebCore::VisiblePosition const&amp;, WebCore::VisiblePosition const&amp;, bool, bool) + 2288
5   com.apple.WebCore        	0x012f0db3 WebCore::InsertListCommand::doApply() + 3831
6   com.apple.WebCore        	0x011e9d96 WebCore::EditCommand::apply() + 40
7   com.apple.WebCore        	0x011f4170 WebCore::(anonymous namespace)::execInsertOrderedList(WebCore::Frame*, bool, WebCore::String const&amp;) + 84
8   com.apple.WebCore        	0x011f54dd WebCore::JSEditor::execCommand(WebCore::String const&amp;, bool, WebCore::String const&amp;) + 103
9   com.apple.WebCore        	0x0110d303 WebCore::Document::execCommand(WebCore::String const&amp;, bool, WebCore::String const&amp;) + 53
10  com.apple.WebCore        	0x0124fdb1 WebCore::JSDocumentProtoFunc::callAsFunction(KJS::ExecState*, KJS::JSObject*, KJS::List const&amp;) + 1429</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56722</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Petersen">c.petersen87</who>
    <bug_when>2006-09-28 09:24:39 -0700</bug_when>
    <thetext>This is covered in &lt;rdar://problem/4755287&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56978</commentid>
    <comment_count>2</comment_count>
    <who name="Justin Garcia">justin.garcia</who>
    <bug_when>2006-10-02 18:12:57 -0700</bug_when>
    <thetext>r16728</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>