Files
tubestation/testing/web-platform/tests/editing
Masayuki Nakano 46ff8f2ad3 Bug 1422234 - part 2: Add wpt-tests to check if insertParagraph command splits or doesn't split inline elements at their edge r=m_kato
Spec bug: https://github.com/w3c/editing/issues/172

Inline elements in paragraph except anchor elements which have non-empty
href attribute should be created in new paragraph even when new ones are
empty because users must expect to keep writing some text with same style,
but for anchor elements with non-empty href attribute, users must not
expect to create same link in new paragraph in most cases.

MozReview-Commit-ID: KjpOzfv4F0j
2018-01-23 18:42:49 +09:00
..

Most of this directory tests conformance to the editing spec written long ago
by Aryeh Gregor.  Nobody actually implements the spec, but the tests are still
useful for regression testing.  The files in data/ were generated from a
JavaScript implementation of the specification using a complex procedure that
can't actually be replicated right now as-is.  Editing them manually is
possible, but they're not really meant to be human-readable.  If anyone is
interested, it would be possible for Aryeh to get the test generation procedure
working again.  Or you could look into the repository history and figure out
how to do it yourself, if you're brave.

There is also a directory other/ that contains additional editor-related tests.
They aren't necessarily based on any specification, but try to specify sensible
behavior, and are meant to be helpful with regression testing for existing
implementations and finding bugs in new implementations.