Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 21d97506efba191f7fabf7affa719a646026a13b
      
https://github.com/WebKit/WebKit/commit/21d97506efba191f7fabf7affa719a646026a13b
  Author: Rob Buis <[email protected]>
  Date:   2024-01-04 (Thu, 04 Jan 2024)

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

  Log Message:
  -----------
  [content-visibility] Remove scroll anchor workaround
https://bugs.webkit.org/show_bug.cgi?id=259269
rdar://112759490

Reviewed by Tim Nguyen.

Now that scroll anchoring is enabled, remove the hack of resetting all c-v: 
auto elements to offscreen status on scrolling.

* Source/WebCore/dom/ContentVisibilityDocumentState.cpp:
(WebCore::ContentVisibilityDocumentState::updateContentRelevancyForScrollIfNeeded):
* Source/WebCore/dom/Document.cpp:
* Source/WebCore/dom/Element.cpp:
(WebCore::Element::focus):

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


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

Reply via email to