fune/testing/web-platform/tests/css/css-layout-api/list-item-multicol-with-custom-layout-child-crash.https.html
Morten Stenshorne bf9670cdcc Bug 1665480 [wpt PR 25574] - Don't allow legacy list item markers inside an NG subtree., a=testonly
Automatic update from web-platform-tests
Don't allow legacy list item markers inside an NG subtree.

We usually don't encounter NG objects inside a legacy layout subtree,
but this may happen when we have display types that aren't implemented
in the legacy engine, e.g. MathML and custom layout.

This situation should be rare enough, and the combination of list items
and MathML / custom layout doesn't seem like a very common use case. So
just don't go there, and instead keep looking for a better candidate to
place the list item marker inside.

Bug: 1127112
Change-Id: I74c39fae7e5c48d73d5603efca486a05c234a25a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2414268
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#807788}

--

wpt-commits: f52771d163bcd9e12ea3903f48478ddaa5cdbe3b
wpt-pr: 25574
2020-09-23 09:02:50 +00:00

6 lines
304 B
HTML

<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1127112#c8">
<div style="display:list-item; columns:2;">
<div style="display:layout(child-layout);">Do not crash.</div>
</div>