diff --git a/source b/source index 6dfd456974a..ae535a1eebc 100644 --- a/source +++ b/source @@ -4063,6 +4063,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • evaluate media queries and report changes
  • Scroll a target into view
  • Scroll to the beginning of the document
  • +
  • run snapshot post-layout state steps
  • The resize event
  • The scroll event
  • The scrollend event
  • @@ -114572,6 +114573,7 @@ import "https://example.com/foo/../module2.mjs";
    1. Let resizeObserverDepth be 0.

    2. +
    3. Let didRunSnapshotPostLayoutStateSteps be false.

    4. While true:

      @@ -114579,37 +114581,17 @@ import "https://example.com/foo/../module2.mjs";
      1. Recalculate styles and update layout for doc.

      2. -
      3. Let hadInitialVisibleContentVisibilityDetermination be false.

      4. - -
      5. -

        For each element element with 'auto' used value of - 'content-visibility':

        - +
      6. If didRunSnapshotPostLayoutStateSteps is false:

          -
        1. Let checkForInitialDetermination be true if element's - proximity to the viewport is not determined and it is not relevant to - the user. Otherwise, let checkForInitialDetermination be - false.

        2. +
        3. Run snapshot post-layout state steps for doc. CSSOMVIEW

        4. -
        5. Determine proximity to the viewport for element.

        6. +
        7. Set didRunSnapshotPostLayoutStateSteps to true

        8. -
        9. If checkForInitialDetermination is true and element is now - relevant to the user, then set - hadInitialVisibleContentVisibilityDetermination to true.

        10. +
        11. If any snapshotted state changed, then continue.

      7. -
      8. -

        If hadInitialVisibleContentVisibilityDetermination is true, then - continue.

        - -

        The intent of this step is for the initial viewport proximity - determination, which takes effect immediately, to be reflected in the style and layout - calculation which is carried out in a previous step of this loop. Proximity - determinations other than the initial one take effect at the next rendering - opportunity. CSSCONTAIN

        -
      9. +
      10. Set didRunSnapshotPostLayoutStateSteps to false.

      11. Gather active resize observations at depth resizeObserverDepth for doc.