W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2012

Re: Pressing Enter in contenteditable: <p> or <br> or <div>?

From: Hallvord R. M. Steen <hallvord@opera.com>
Date: Thu, 12 Jan 2012 10:58:16 +0100
To: "Markus Ernst" <derernst@gmx.ch>, "Ryosuke Niwa" <rniwa@webkit.org>
Cc: "Simon Pieters" <simonp@opera.com>, "Aryeh Gregor" <ayg@aryeh.name>, "Ojan Vafai" <ojan@chromium.org>, "Ehsan Akhgari" <ehsan@mozilla.com>, "Michael A. Puls II" <shadow2531@gmail.com>, "WebApps WG" <public-webapps@w3.org>
Message-ID: <op.v7ytxy18a3v5gv@hr-opera.oslo.osa>
On Wed, 11 Jan 2012 18:31:26 +0100, Ryosuke Niwa <rniwa@webkit.org> wrote:

>> Actually, applying p {margin:0} looks quite trivial.
> The problem is that many existing contents don't have that css rule and  
> we obviously don't want to create markup like <p style="margin: 0px;">  
> for it is too verbose.

Probably a stupid question, but one I've always wanted to ask: couldn't we  
default to a different, smaller, possibly 0 margin for P when in editable  

Hallvord R. M. Steen, Core Tester, Opera Software
http://www.opera.com http://my.opera.com/hallvors/
Received on Thursday, 12 January 2012 10:01:21 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:30 UTC