[Webkit-unassigned] [Bug 12248] Apple-style-span class seems unnecessary

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 9 00:50:04 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12248





------- Comment #4 from dpopa at adobe.com  2007-03-09 00:50 PDT -------
(In reply to comment #3)
> Ah!  Thanks for clearing that up.  Does the Apple-style-span class adversely
> effect behavior while editing, or does it just seem unnecessary?

It is unnecessary.
Imagine the MSHTML editor leaving class="microsoft-style-span" in the source
code...


Re: using the <span> for basic formatting: this will make the WebKit editor
incompatible with IE's editor which uses tags.

You could add the 'styleWithCSS' commandid, like Gecko, so rich editors can
choose the formmating model regardless of the mode, quirks or standard.

I cannot control the rendering mode of the pages edited by my HTML editor, user
will choose that on page creation.

The editing experience should be the same cross browser. Content formatted with
WebKit would not be editable in IE.

I really love the contentEditable implementation, it is robust and it ressemble
the IE's implementation.
Make sure the edited tag cant be deleted, as it happens now if you press DELETE
inside an empty editable LI: remove everything from the LI then press DELETE,
the LI will dissapear.


<ul>
        <li id="edit1" contentEditable="true">Editable <b>li</b> containing a
<a href="#somelink">link</a>.</li>
</ul>

Go to http://www.mister-pixel.com/ever/bugs/webkit/ for test page and
playground.

Regards,
Dan POPA


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



More information about the webkit-unassigned mailing list