<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>15527</bug_id>
          
          <creation_ts>2012-01-11 20:52:51 +0000</creation_ts>
          <short_desc>Allow div (and maybe br) as a paragraph separator</short_desc>
          <delta_ts>2012-02-24 20:48:32 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>HISTORICAL - HTML Editing APIs</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aryeh Gregor">ayg</reporter>
          <assigned_to name="Aryeh Gregor">ayg</assigned_to>
          <cc>ehsan</cc>
    
    <cc>mike</cc>
    
    <cc>ojan</cc>
    
    <cc>public-webapps</cc>
    
    <cc>rniwa</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact name="HTML Editing APIs spec bugbot">sideshowbarker+html-editing-api</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>62574</commentid>
    <comment_count>0</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2012-01-11 20:52:51 +0000</bug_when>
    <thetext>See discussion: http://lists.w3.org/Archives/Public/public-webapps/2012JanMar/0045.html and responses.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64560</commentid>
    <comment_count>1</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2012-02-24 17:47:13 +0000</bug_when>
    <thetext>Okay, so I&apos;m going to implement this now.  I&apos;ll make it a command called defaultBlock, which will only take values &quot;div&quot; and &quot;p&quot;.  I&apos;ve seen no good use-cases yet for br over div, and a br option would make things significantly more complicated.

Really I&apos;d like to fix bug 15522 first (allow execCommand on Element), so that this command can be scoped.  But I don&apos;t view that as a blocker, and it would be added complication, so I won&apos;t.  (I&apos;d have to fix about a million references to &quot;the context object&quot;.)

This will probably double the number of tests that get run.  :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64565</commentid>
    <comment_count>2</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-02-24 18:45:18 +0000</bug_when>
    <thetext>Can we use defaultParagraphSeparator or something along that line? We have both InsertParagraph and InsertLineBreak and this command should only change what the former command inserts. defaultBlock sounds too generic to me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64566</commentid>
    <comment_count>3</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2012-02-24 18:54:58 +0000</bug_when>
    <thetext>Okay.  No objection from me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64567</commentid>
    <comment_count>4</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-02-24 18:56:46 +0000</bug_when>
    <thetext>(In reply to comment #1) 
&gt; Really I&apos;d like to fix bug 15522 first (allow execCommand on Element), so that
&gt; this command can be scoped.  But I don&apos;t view that as a blocker, and it would
&gt; be added complication, so I won&apos;t.  (I&apos;d have to fix about a million references
&gt; to &quot;the context object&quot;.)

Yeah, fixing that bug will be great.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64568</commentid>
    <comment_count>5</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2012-02-24 19:27:03 +0000</bug_when>
    <thetext>Tell you what: implement these two spec changes, and then you can ask me for more changes.  :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64574</commentid>
    <comment_count>6</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2012-02-24 20:48:32 +0000</bug_when>
    <thetext>Fixed: http://dvcs.w3.org/hg/editing/rev/b35a81679b49</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>