<?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>12317</bug_id>
          
          <creation_ts>2007-01-18 11:56:00 -0800</creation_ts>
          <short_desc>webkit-block-placeholder class on placeholders seems unnecessary</short_desc>
          <delta_ts>2008-02-05 13:56:09 -0800</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>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dan Wood">dwood</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>fuck</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>34356</commentid>
    <comment_count>0</comment_count>
    <who name="Dan Wood">dwood</who>
    <bug_when>2007-01-18 11:56:00 -0800</bug_when>
    <thetext>To reproduce:

0. Launch Blot_editableDiv_showSource, my modified version of &quot;Blot&quot; available from &lt;http://dan.karelia.com/webkit/Blot_editableDiv_showSource.zip&gt; with DYLD_FRAMEWORK_PATH pointing to TOT.  (I&apos;m using r18941)

1. Click in the top panel.
2. Type &quot;Hello&quot; and hit the return key

Results: The contents of the editable DIV are:

Hello.&lt;div&gt;&lt;br class=&quot;webkit-block-placeholder&quot;&gt;&lt;/div&gt;

Expected:
There shouldn&apos;t be an internal webkit class.  Also the empty divs surrounding a &lt;br&gt; are weird -- I would expect there to be something like just a &lt;br&gt; but not enclosed in a div.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34362</commentid>
    <comment_count>1</comment_count>
    <who name="Dan Wood">dwood</who>
    <bug_when>2007-01-18 12:24:59 -0800</bug_when>
    <thetext>Note also that the DIV does not self-close, it&apos;s not proper XHTML</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20260</commentid>
    <comment_count>2</comment_count>
    <who name="Justin Garcia">justin.garcia</who>
    <bug_when>2007-03-06 22:38:53 -0800</bug_when>
    <thetext>If you want &lt;br&gt;s on carriage returns you could override insertNewline: and insertParagraphSeparator: and call insertLineBreak:, or you could use custom keybindings in your app.

I&apos;m going to make this bug about the seemingly unnecessary -webkit-block-placeholder class on the br.

Please file a separate bug for the fact that the &lt;br&gt;s aren&apos;t self closing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67084</commentid>
    <comment_count>3</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2008-01-12 19:02:18 -0800</bug_when>
    <thetext>&lt;rdar://problem/5685601&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69511</commentid>
    <comment_count>4</comment_count>
    <who name="Justin Garcia">justin.garcia</who>
    <bug_when>2008-02-05 13:56:09 -0800</bug_when>
    <thetext>r30016</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>