[webkit-changes] [WebKit/WebKit] 8a4527: [content-visibility] css/css-contain/content-visib...

Rob Buis noreply at github.com
Wed Nov 29 12:21:23 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8a4527f41e26dc8b1aac14e1eadd9007e1d2593d
      https://github.com/WebKit/WebKit/commit/8a4527f41e26dc8b1aac14e1eadd9007e1d2593d
  Author: Rob Buis <rbuis at igalia.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M Source/WebCore/dom/ContentVisibilityDocumentState.cpp

  Log Message:
  -----------
  [content-visibility] css/css-contain/content-visibility/content-visibility-auto-state-changed-removed.html fails sometimes
https://bugs.webkit.org/show_bug.cgi?id=264414

Reviewed by Simon Fraser.

Change timing of checking whether the element to dispatch ContentVisibilityAutoStateChangeEvent to is connected to the
moment we try to dispatch, rather than the time we queue the dispatching task.

* Source/WebCore/dom/ContentVisibilityDocumentState.cpp:
(WebCore::ContentVisibilityDocumentState::checkRelevancyOfContentVisibilityElement const):

Canonical link: https://commits.webkit.org/271293@main




More information about the webkit-changes mailing list