gecko-dev/testing/web-platform/tests/css/css-break
Morten Stenshorne 3b7784d1bd Bug 1633578 [wpt PR 23279] - [FragmentItem] Prevent dangling LayoutObject ptrs in block fragmentation., a=testonly
Automatic update from web-platform-tests
[FragmentItem] Prevent dangling LayoutObject ptrs in block fragmentation.

NGInlineCursor doesn't work with block fragmentation, so we'd end up
with NGFragmentItem objects with dangling pointers to LayoutObject. To
fix this, perform a full walk through all fragment items in all
fragments, if it's likely that we're in block fragmentation.

CL:2152824 caused two tests to crash because of this, and it therefore
got reverted. Add another test now, which would also crash without the
aforementioned CL.

Bug: 1075517
Change-Id: I97e2fae63d89031ea258ba146898e7fcfe56bd45
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2165800
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#763233}

--

wpt-commits: e9ed833d0c9483012493d839434137de7e7ba00d
wpt-pr: 23279
2020-04-28 11:48:04 +00:00
..
animation
parsing
reference
avoid-border-break.html
block-end-aligned-abspos-nested.html
block-end-aligned-abspos-with-overflow-ref.html
block-end-aligned-abspos-with-overflow.html
block-end-aligned-abspos.html
block-max-height-001-ref.html
block-max-height-001.html
block-max-height-001b-ref.html
block-max-height-001b.html
block-max-height-002.html
block-max-height-002b.html
block-max-height-003.html
block-max-height-003b.html
block-min-height-001-ref.html
block-min-height-001.html
block-min-height-001b-ref.html
block-min-height-001b.html
break-before-always-001.xht
break-before-with-no-fragmentation-crash.html
fieldset-001-ref.html
fieldset-001.html
fieldset.html
floats-and-text-narrow-and-short-dynamic-ref.html
floats-and-text-narrow-and-short-dynamic.html
form-control.html
hit-test-inline-fragmentation-with-border-radius.html
inheritance.html
line-after-unbreakable-float-after-padding-ref.html
line-after-unbreakable-float-after-padding.html
META.yml
page-break-legacy-shorthands.html
remove-inline-child.html Bug 1633578 [wpt PR 23279] - [FragmentItem] Prevent dangling LayoutObject ptrs in block fragmentation., a=testonly 2020-04-28 11:48:04 +00:00
tall-break-inside-avoid-at-start.html
widows-orphans-001.html
widows-orphans-002.html
widows-orphans-003.html
widows-orphans-004.html
widows-orphans-005.html