Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1c9259f43c89b497018b0c9503717b3ba56dac54
      
https://github.com/WebKit/WebKit/commit/1c9259f43c89b497018b0c9503717b3ba56dac54
  Author: Gerald Squelart <[email protected]>
  Date:   2025-05-20 (Tue, 20 May 2025)

  Changed paths:
    A LayoutTests/media/video-suppress-hdr-fullscreen-expected.txt
    A LayoutTests/media/video-suppress-hdr-fullscreen.html
    M LayoutTests/platform/glib/TestExpectations
    M Source/WebCore/html/HTMLMediaElement.cpp
    M Source/WebCore/page/Settings.yaml

  Log Message:
  -----------
  Only prevent full screen video HDR external constraining on macOS
https://bugs.webkit.org/show_bug.cgi?id=292904
rdar://151160054

Reviewed by Simon Fraser.

In some situations the OS may request that the browser constrains (or
"suppresses") HDR to some maximum level.
For full screen videos on macOS, we do NOT want to suppress HDR.
But on other OSes like iOS, the constraining request should now be
respected.

Note: This does not affect `dynamic-range-limit`, which is always
respected on all supported platforms.

* LayoutTests/media/video-suppress-hdr-fullscreen-expected.txt: Added.
* LayoutTests/media/video-suppress-hdr-fullscreen.html: Added.
* LayoutTests/platform/glib/TestExpectations:
* Source/WebCore/html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::computePlayerDynamicRangeLimit const):
* Source/WebCore/page/Settings.yaml:

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