Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 592f17114e7942f54379cf57e006b3e95f06e722
      
https://github.com/WebKit/WebKit/commit/592f17114e7942f54379cf57e006b3e95f06e722
  Author: Aditya Keerthi <akeer...@apple.com>
  Date:   2025-08-13 (Wed, 13 Aug 2025)

  Changed paths:
    M LayoutTests/fast/forms/range/slider-in-multi-column.html
    M LayoutTests/platform/mac-sequoia/TestExpectations
    M LayoutTests/platform/mac/TestExpectations

  Log Message:
  -----------
  [macOS Tahoe] fast/forms/range/slider-in-multi-column.html is a constant 
failure
https://bugs.webkit.org/show_bug.cgi?id=297379
rdar://154997421

Reviewed by Richard Robinson and Abrar Rahman Protyasha.

The failing test uses a hardcoded offset to drag the slider thumb and then
asserts that the slider has a specific value.

However, this approach is flawed since the slider value is function of the
both the position and the width of thumb. The width of the thumb affects
the current value, since no part of the thumb can be dragged beyond the bounds
of the track.

The width of the slider thumb changed with the form control redesign in
macOS Tahoe, and the hardcoded offset no longer results in the same slider
value. Fix by computing the offset necessary to achieve the desired value.

* LayoutTests/fast/forms/range/slider-in-multi-column.html:

2 is subtracted from the expected value in order to continue to test the `step`.

* LayoutTests/platform/mac-sequoia/TestExpectations:
* LayoutTests/platform/mac/TestExpectations:

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



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

Reply via email to