Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8a4527f41e26dc8b1aac14e1eadd9007e1d2593d
      
https://github.com/WebKit/WebKit/commit/8a4527f41e26dc8b1aac14e1eadd9007e1d2593d
  Author: Rob Buis <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to