Re: [css-text] Should contenteditable word-wrap: break by default

On Thu, Oct 23, 2014 at 11:08 AM, Greg Whitworth <gwhit@microsoft.com> wrote:
> We have an interop issue that was submitted to us as a bug and it concerns
> contenteditable. Currently Chrome currently adds the following props by
> default to any element that has a contenteditable:
>
>      word-wrap: break-word
>      -webkit-line-break: after-white-space
>
> Firefox/IE currently render the same by adding scroll bars if the length of
> the content overflows the input (assuming overflow: auto|scroll) if there
> are no spaces inserted into the editable div, if there are spaces all
> browsers render the same.
>
> Here is a fiddle: http://jsfiddle.net/pfe9mj4o/1/ (just type in the input
> without spaces)
>
> I am not passionate on this one way or the other, but would just like to get
> the opinion of the group to determine if FF/IE should change to match Chrome
> or vice-versa.

So you're saying that FF/IE add overflow:auto to [contenteditable] elements?

~TJ

Received on Thursday, 23 October 2014 21:31:08 UTC