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

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

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:49 GMT