chromium/third_party/blink/web_tests/paint/invalidation/collapse-anonymous-block-child.html

<!DOCTYPE html>
<script src="../../resources/run-after-layout-and-paint.js"></script>
<script>
onload = function() {
  runAfterLayoutAndPaint(function() {
    block.style.display = 'none';
  }, true);
};
</script>
<span>Tests</span> anonymous block is collapsed. Passes if this line doesn't change when 'Block' disappears.
<div id="block">Block</div>