[webkit-changes] [WebKit/WebKit] 4ef6b1: [visionOS] Update appearance of controls on spatia...

Commit Queue noreply at github.com
Fri Nov 15 13:12:37 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4ef6b1a681102db45b2c19ff094ce8c19a137211
      https://github.com/WebKit/WebKit/commit/4ef6b1a681102db45b2c19ff094ce8c19a137211
  Author: Yoel Hawa <yoel at apple.com>
  Date:   2024-11-15 (Fri, 15 Nov 2024)

  Changed paths:
    M LayoutTests/fast/images/spatial-image-controls-expected.html
    M LayoutTests/fast/images/spatial-image-controls.html
    M Source/WebCore/html/shadow/SpatialImageControls.cpp
    M Source/WebCore/html/shadow/spatialImageControls.css

  Log Message:
  -----------
  [visionOS] Update appearance of controls on spatial images
https://bugs.webkit.org/show_bug.cgi?id=283131
<rdar://138425660>

Reviewed by Ryosuke Niwa.

Update the design of controls for spatial images.

* LayoutTests/fast/images/spatial-image-controls-expected.html:
* LayoutTests/fast/images/spatial-image-controls.html:
Update layout test to match new design.

* Source/WebCore/html/shadow/SpatialImageControls.cpp:
(WebCore::SpatialImageControls::ensureSpatialControls):
* Source/WebCore/html/shadow/spatialImageControls.css:
(#if defined(ENABLE_SPATIAL_IMAGE_CONTROLS) && ENABLE_SPATIAL_IMAGE_CONTROLS):
(div#background-tint):
(div#blur):
(div#tint):
(div#bottom-gradient):
(div#label):
(span#spatial-glyph):
Implement new design.

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list