[prev in list] [next in list] [prev in thread] [next in thread] 

List:       whatwg
Subject:    [whatwg] New Test Suite for Rich Text Editing (contentEditable & JS)
From:       Roland Steiner <rolandsteiner () chromium ! org>
Date:       2010-09-30 9:04:47
Message-ID: AANLkTimqEd5NSmSvZhV+CwCsVqT7JKmwtTrCZXbRmfAm () mail ! gmail ! com
[Download RAW message or body]

[Apologies if you have seen this already!]

Hi all,

As you probably know, the current state of rich text editing
functionalities in user agents (contentEditable, and the JavaScript
functions execCommand and queryCommandValue, etc.) is not quite ideal. There
are different specs listing different commands (in addition to the relevant
parts of the HTML5 spec, there's also the Midas spec:
http://www.mozilla.org/editor/midas-spec.html), and different UAs implement
different parts of both. Even common parts are often implemented differently
and may yield different result HTML and/or result selections.

Now, in order to document the current state of all of this, we are currently
setting up a new rich text editing test suite as part of the larger
browserscope (http://www.browserscope.org) framework. It is largely an
extension and generalization of the already existing "RichText" suite
there. We hope such a suite helps in identifying the main problem areas and
in improving interoperability. In turn, this should help reaching a common
set of editing commands and, generally, editing functionalities with
well-defined behavior that are useful for web authors.

A beta version can be accessed at
http://www.browserscope.org/richtext2/test (note
that being beta, the suite is not yet accessible from the main page at
http://www.browserscope.org). Please understand that we are still adding and
cleaning up tests, and details of the presentation. But at even at the
current, early stage it should give a good idea of the direction of the
suite. Indeed, as achieving consensus on the tests contained in the suite is
meant to be a community effort, it is bound to change and being extended
over time, as it solidifies based on input from contributors.

Therefore, as this can only benefit from the participation of as many
parties as possible, we would like to solicit input from everyone interested
in the field - or anyone with past grievances about bugs and
incompatibilities in the area! ;). For suggestions, criticism, and general
discussion on the suite and tests, please post a mail (or many!) at the
browserscope mailing list at browserscope@googlegroups.com.


Best regards,

- Roland Steiner

[Attachment #3 (text/html)]

<span style="font-family:arial, \
sans-serif;font-size:13px;border-collapse:collapse"><div><span \
style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse"><div> \
[Apologies if you have seen this already!]</div><div><br></div><div>Hi \
all,</div><div><br></div><div>As you probably know, the current state of rich text \
editing functionalities in user agents (contentEditable, and the JavaScript functions \
execCommand and queryCommandValue, etc.) is not quite ideal. There are different \
specs listing different commands (in addition to the relevant parts of the HTML5 \
spec, there&#39;s also the Midas spec: <a \
href="http://www.mozilla.org/editor/midas-spec.html" \
target="_blank">http://www.mozilla.org/editor/midas-spec.html</a>), and different UAs \
implement different parts of both. Even common parts are often implemented \
differently and may yield different result HTML and/or result selections.</div>


<div><br></div><div>Now, in order to document the current state of all of this, we \
are currently setting up a new rich text editing test suite as part of the larger \
browserscope (<a href="http://www.browserscope.org/" style="color:rgb(0, 0, 204)" \
target="_blank">http://www.browserscope.org</a>) framework. It is largely an \
extension and generalization of the already existing &quot;RichText&quot; suite \
there. We hope such a suite helps in identifying the main problem areas and in \
improving interoperability. In turn, this should help reaching a common set of \
editing commands and, generally, editing functionalities with well-defined behavior \
that are useful for web authors.</div>


<div><br></div><div>A beta version can be accessed at <a \
href="http://www.browserscope.org/richtext2/test" style="color:rgb(0, 0, 204)" \
target="_blank">http://www.browserscope.org/richtext2/test</a> (note that being beta, \
the suite is not yet accessible from the main page at <a \
href="http://www.browserscope.org/" style="color:rgb(0, 0, 204)" \
target="_blank">http://www.browserscope.org</a>). Please understand that we are still \
adding and cleaning up tests, and details of the presentation. But at even at the \
current, early stage it should give a good idea of the direction of the suite. \
Indeed, as achieving consensus on the tests contained in the suite is meant to be a \
community effort, it is bound to change and being extended over time, as it \
solidifies based on input from contributors.</div>


</span></div><div><span style="font-family:arial, \
sans-serif;font-size:13px;border-collapse:collapse"><div><br></div></span></div><div><span \
style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse"><div>

Therefore, as this can only benefit from the participation of as many parties as \
possible, we would like to solicit input from everyone interested in the field - or \
anyone with past grievances about bugs and incompatibilities in the area! ;). For \
suggestions, criticism, and general discussion on the suite and tests, please post a \
mail (or many!) at the browserscope mailing list at <span><a \
href="mailto:browserscope@googlegroups.com" style="color:rgb(0, 0, 204)" \
target="_blank">browserscope@googlegroups.com</a>.</span></div>


<div><span><br></span></div><div><span><br></span></div><div><span>Best \
regards,</span></div><div><span><br></span></div><div><span>- Roland \
Steiner</span></div></span></div></span>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic