[whatwg] Pressing Enter in contenteditable: <p> or <br> or <div>?

Aryeh Gregor Simetrical+w3c at gmail.com
Fri May 13 12:51:39 PDT 2011


On Fri, May 13, 2011 at 3:38 PM, Boris Zbarsky <bzbarsky at mit.edu> wrote:
> I _think_ we consider that a bug in Gecko.

It does violate a "should" in HTML5, added a while back in reply to that bug:

"A br element should separate paragraphs for the purposes of the
Unicode bidirectional algorithm."
http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-br-element



More information about the whatwg mailing list