<html>
    <head>
      <base href="https://bugs.webkit.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:karl+webkit@la-grange.net" title="karl <karl+webkit@la-grange.net>"> <span class="fn">karl</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Contenteditable has break-word and -webkit-line-break by default"
   href="https://bugs.webkit.org/show_bug.cgi?id=138068">bug 138068</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>karl+webkit@la-grange.net
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Contenteditable has break-word and -webkit-line-break by default"
   href="https://bugs.webkit.org/show_bug.cgi?id=138068#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Contenteditable has break-word and -webkit-line-break by default"
   href="https://bugs.webkit.org/show_bug.cgi?id=138068">bug 138068</a>
              from <span class="vcard"><a class="email" href="mailto:karl+webkit@la-grange.net" title="karl <karl+webkit@la-grange.net>"> <span class="fn">karl</span></a>
</span></b>
        <pre>Another possible test
data:text/html,<!doctype html><html><div style="border: 1px solid black; width: 5ch;" contenteditable>AAAAAAA</div>

This is done here. 
<a href="https://github.com/WebKit/WebKit/blob/14129e759715bb8535b8b7a7512860f79fba2993/Source/WebCore/html/HTMLElement.cpp#L201-L208">https://github.com/WebKit/WebKit/blob/14129e759715bb8535b8b7a7512860f79fba2993/Source/WebCore/html/HTMLElement.cpp#L201-L208</a>


        case ContentEditableType::True:
            addPropertyToPresentationalHintStyle(style, CSSPropertyWordWrap, CSSValueBreakWord);
            addPropertyToPresentationalHintStyle(style, CSSPropertyWebkitNbspMode, CSSValueSpace);
            addPropertyToPresentationalHintStyle(style, CSSPropertyLineBreak, CSSValueAfterWhiteSpace);
#if PLATFORM(IOS_FAMILY)
            addPropertyToPresentationalHintStyle(style, CSSPropertyWebkitTextSizeAdjust, CSSValueNone);
#endif
            break;


It seems to have been there for a long time. moved from Frame.cpp into HTMLElementImpl.cpp
<a href="https://github.com/WebKit/WebKit/commit/c68912f97deea7782d6c1b6aab872e5d93365de2">https://github.com/WebKit/WebKit/commit/c68912f97deea7782d6c1b6aab872e5d93365de2</a>

It was carried away from on Oct 15, 2004
<a href="https://github.com/WebKit/WebKit/commit/9d7af8297974d9263c22f90d43074ebbbe439381#diff-c8205393c9f57e84bfe70e703391bcc951d7d0b9177394c638d35905eed918ccR5493-R5503">https://github.com/WebKit/WebKit/commit/9d7af8297974d9263c22f90d43074ebbbe439381#diff-c8205393c9f57e84bfe70e703391bcc951d7d0b9177394c638d35905eed918ccR5493-R5503</a>


In Gecko the [contenteditable] CSS is available in a dedicated CSS
<a href="https://searchfox.org/mozilla-central/source/layout/style/contenteditable.css">https://searchfox.org/mozilla-central/source/layout/style/contenteditable.css</a>
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=237964">https://bugzilla.mozilla.org/show_bug.cgi?id=237964</a> (June 2007)


The discussion on the CSS mailing-list never reached a conclusion. I filed a bug on Firefox. 
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1749163">https://bugzilla.mozilla.org/show_bug.cgi?id=1749163</a></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>