Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 984456c2bf6f58b68dc9427b6d352daa3cbe4987
      
https://github.com/WebKit/WebKit/commit/984456c2bf6f58b68dc9427b6d352daa3cbe4987
  Author: Wenson Hsieh <[email protected]>
  Date:   2025-05-20 (Tue, 20 May 2025)

  Changed paths:
    M 
LayoutTests/fast/page-color-sampling/color-sampling-ignores-non-fixed-content-expected.txt
    M 
LayoutTests/fast/page-color-sampling/color-sampling-ignores-non-fixed-content.html
    M Source/WebCore/page/LocalFrameView.cpp
    M Source/WebCore/page/PageColorSampler.cpp

  Log Message:
  -----------
  [Page color sampling] Sampled background colors should always be opaque
https://bugs.webkit.org/show_bug.cgi?id=293306

Reviewed by Aditya Keerthi.

Force all sampled background colors to be fully opaque (alpha = 1), so that no 
content shows up from
behind the corresponding fixed position color extension views.

* 
LayoutTests/fast/page-color-sampling/color-sampling-ignores-non-fixed-content-expected.txt:
* 
LayoutTests/fast/page-color-sampling/color-sampling-ignores-non-fixed-content.html:

Rebaseline an existing layout test.

* Source/WebCore/page/LocalFrameView.cpp:
(WebCore::LocalFrameView::fixedContainerEdges const):
* Source/WebCore/page/PageColorSampler.cpp:
(WebCore::PageColorSampler::predominantColor):

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