[Webkit-unassigned] [Bug 45545] Safari turns return in designMode into break inclosed in div

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 1 23:27:31 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=45545





--- Comment #3 from Aryeh Gregor <ayg at aryeh.name>  2012-05-01 23:27:29 PST ---
The extra <br> is needed initially.  It should be removed as soon as there's other content to stop the div/p from collapsing.  Firefox and Opera both also use <br> for this purpose; IE uses   (but it's somewhat magical and is prone to disappear depending on how you look at it).

By default WebKit should be emitting <p> per spec (and per IE/Opera), not <div>, but that's a separate issue.

Firefox is wrong for emitting <br>.  This was discussed extensively and the conclusion was to go with IE/Opera's behavior: <http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2011-May/031577.html>.  I'm working on fixing Firefox to match the spec better: <https://bugzilla.mozilla.org/show_bug.cgi?id=748303>.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list