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

Robert O'Callahan robert at ocallahan.org
Fri May 13 21:47:00 PDT 2011


On Sat, May 14, 2011 at 7:51 AM, Aryeh Gregor <Simetrical+w3c at gmail.com>wrote:

> 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
>

We have patches in hand to implement that behavior. You should expect it to
happen in some future version of Firefox.

Rob
-- 
"Now the Bereans were of more noble character than the Thessalonians, for
they received the message with great eagerness and examined the Scriptures
every day to see if what Paul said was true." [Acts 17:11]



More information about the whatwg mailing list