Files
firefox/testing/web-platform/tests/editing
Javier Fernandez 2f2f92635d Bug 1493918 [wpt PR 13191] - Use MoveParagraphWithClones when moving paragraphs to new list items, a=testonly
Automatic update from web-platform-testsUse MoveParagraphWithClones when moving paragraphs to new list items

The MoveParagraph function doesn't guarantee the paragraph's style is
preserved when the insertOrderedList/insertOnordered list commands
are used.

Instead, we should use MoveParagraphWithClones. This change implies
rebaseline a few tests, since the result tree is different than the
one created with MoveParagraph.

Bug: 149901
Cq-Include-Trybots: luci.chromium.try​:linux_layout_tests_layout_ng
Change-Id: I01e5a9ade28d3c16e8dc5423bf16dcf0d7e60976
Reviewed-on: https://chromium-review.googlesource.com/c/1216282
Commit-Queue: Javier Fernandez <[email protected]>
Reviewed-by: Yoshifumi Inoue <[email protected]>
Cr-Commit-Position: refs/heads/master@{#600342}

--

wpt-commits: 1e4952152600544618802f49676d17c1c2e261d7
wpt-pr: 13191
2018-11-07 14:40:16 +00: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.