Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c073b6cbaccdcb73c1b5a70f95e87c9f02043681
      
https://github.com/WebKit/WebKit/commit/c073b6cbaccdcb73c1b5a70f95e87c9f02043681
  Author: Anne van Kesteren <ann...@annevk.nl>
  Date:   2023-03-30 (Thu, 30 Mar 2023)

  Changed paths:
    M LayoutTests/platform/ios-device/TestExpectations
    R 
LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/css/cssom-view/Screen-pixelDepth-Screen-colorDepth001-expected.txt
    M Source/WebCore/platform/ios/PlatformScreenIOS.mm

  Log Message:
  -----------
  [iOS] screen.colorDepth reports incorrect value
https://bugs.webkit.org/show_bug.cgi?id=244845
rdar://99871925

Reviewed by Jer Noble.

24 is the CSSOM View value for 8 bits per color channel. The alpha channel is 
to be excluded.

* LayoutTests/platform/ios-device/TestExpectations:
* 
LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/css/cssom-view/Screen-pixelDepth-Screen-colorDepth001-expected.txt:
 Removed.
* Source/WebCore/platform/ios/PlatformScreenIOS.mm:
(WebCore::screenDepth):
(WebCore::screenDepthPerComponent):
(WebCore::screenHasInvertedColors):
(WebCore::screenPPIFactor):
(WebCore::collectScreenProperties):

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to