Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b518f48885b952050847dcfda0a61b946b4efef4
      
https://github.com/WebKit/WebKit/commit/b518f48885b952050847dcfda0a61b946b4efef4
  Author: Ahmad Saleem <[email protected]>
  Date:   2024-09-08 (Sun, 08 Sep 2024)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/scrollIntoView-align-scrollport-covering-child-expected.txt
    M Source/WebCore/platform/ScrollableArea.cpp

  Log Message:
  -----------
  Always honor scrollIntoView alignment
https://bugs.webkit.org/show_bug.cgi?id=279305
rdar://135484284

Reviewed by Darin Adler.

This patch aligns WebKit with Gecko / Firefox and Blink / Chromium.

Merge: https://chromium-review.googlesource.com/c/chromium/src/+/5105296

The specification [1] does not say to treat "center" differently from
"start" and "end".

[1] https://drafts.csswg.org/cssom-view/#scroll-a-target-into-view

* 
LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/scrollIntoView-align-scrollport-covering-child-expected.txt:
* Source/WebCore/platform/ScrollableArea.cpp:
(WebCore::ScrollableArea::getRectToExposeForScrollIntoView const):

Canonical link: https://commits.webkit.org/283314@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