Files
firefox/testing/web-platform/tests/editing
Morten Stenshorne 28e41cfd5e Bug 1551895 [wpt PR 16817] - [LayoutNG] Don't force legacy layout on ::first-letter pseudos., a=testonly
Automatic update from web-platform-tests
[LayoutNG] Don't force legacy layout on ::first-letter pseudos.

Due to the complicated behavior of ::first-letter elements, where the
placement of the ::first-letter DOM node in the DOM tree doesn't
correspond with where we place the LayoutObject in the layout tree, it's
tricky to figure out whether it's part of a subtree that requires us to
force legacy layout or not. So just skip checking. The ::first-letter
element itself can never force legacy layout on its own, so we'll just
do whatever the parent layout object does.

Solution developed together with [email protected]

Bug: 962090
Change-Id: Ie112561bbd58c0c6f822f500247dbbaa1c8a8118
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1611602
Commit-Queue: Morten Stenshorne <[email protected]>
Reviewed-by: Rune Lillesveen <[email protected]>
Cr-Commit-Position: refs/heads/master@{#659529}

--

wp5At-commits: c62b2bd41d8e00a677d7ef56fecda804f0d4fe39
wpt-pr: 16817
2019-06-19 11:05:17 -07: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.