Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3288618f90a88dc9a28500d8f62f9eda2c084680
      
https://github.com/WebKit/WebKit/commit/3288618f90a88dc9a28500d8f62f9eda2c084680
  Author: Dana Estra <[email protected]>
  Date:   2025-07-10 (Thu, 10 Jul 2025)

  Changed paths:
    A LayoutTests/fullscreen/viewer-restore-scroll-position-expected.txt
    A LayoutTests/fullscreen/viewer-restore-scroll-position.html
    M Source/WebCore/html/HTMLMediaElement.h
    M Source/WebCore/testing/Internals.cpp
    M Source/WebCore/testing/Internals.h
    M Source/WebCore/testing/Internals.idl

  Log Message:
  -----------
  Add layout test to ensure the page's scroll position is restored after 
exiting viewer mode
https://bugs.webkit.org/show_bug.cgi?id=295601
rdar://155372004

Reviewed by Jer Noble.

Add a test that checks the scroll position is the same before entering viewer 
and after exiting viewer.

* LayoutTests/fullscreen/viewer-restore-scroll-position-expected.txt: Added.
* LayoutTests/fullscreen/viewer-restore-scroll-position.html: Added.
* Source/WebCore/html/HTMLMediaElement.h:
* Source/WebCore/testing/Internals.cpp:
(WebCore::Internals::enterViewerMode):
* Source/WebCore/testing/Internals.h:
* Source/WebCore/testing/Internals.idl:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to