W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2011

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

From: Robert O'Callahan <robert@ocallahan.org>
Date: Sat, 14 May 2011 16:47:00 +1200
Message-ID: <BANLkTi=CXOj4QPSTRPgjAW=9EsMK5wMY_g@mail.gmail.com>
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]
Received on Friday, 13 May 2011 21:47:00 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:33 UTC