Bug 1776860 [wpt PR 34624] - Need post-layout fragments on fragment item cache hit...
commite92433522d48e61f5d5458b3615108d07f308781
authorMorten Stenshorne <mstensho@chromium.org>
Wed, 29 Jun 2022 22:09:52 +0000 (29 22:09 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Mon, 4 Jul 2022 09:16:59 +0000 (4 09:16 +0000)
treef36c6ec8296480bdc01b8ed8656144f4a89d1072
parentc8ff99751aff00ae6aad19ef3c404d4c53e1a36b
Bug 1776860 [wpt PR 34624] - Need post-layout fragments on fragment item cache hit., a=testonly

Automatic update from web-platform-tests
Need post-layout fragments on fragment item cache hit.

We previously used to always get post-layout fragments when cloning a
fragment item, but CL:3677013 changed that, since it's no longer a given
that we always do want the post-layout fragments, and that the callers
rather fetch the post-layout fragments at their own discretion.

Back when I wrote that CL, I didn't realize that
NGFragmentItemsBuilder::AddPreviousItems() relied on getting post-layout
fragments as well (probably because cs.chromium.org failed to list all
call sites to NGFragmentItemsBuilder::ItemWithOffset::ItemWithOffset()).

Bug: 1340168
Change-Id: I5f799aa5305c7588d7a6034b2f8eab33b8e1a89c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3731811
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1018694}

--

wpt-commits: dfb10692e649e537946ef5db98898649c9010d98
wpt-pr: 34624
testing/web-platform/tests/css/css-contain/crashtests/contain-nested-crash-002.html [new file with mode: 0644]