Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4a81b6beb546c57d3417fb0a23682c829780e6e5
      
https://github.com/WebKit/WebKit/commit/4a81b6beb546c57d3417fb0a23682c829780e6e5
  Author: Simon Fraser <[email protected]>
  Date:   2026-01-14 (Wed, 14 Jan 2026)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/massive-element-left-of-viewport-offscreen-old.html
    M Source/WebCore/page/scrolling/ScrollingCoordinator.cpp
    M Source/WebCore/rendering/RenderBox.h
    M Source/WebCore/rendering/RenderBoxInlines.h
    M Source/WebCore/rendering/RenderLayer.cpp

  Log Message:
  -----------
  Maintain font subpixel quantization in more cases
https://bugs.webkit.org/show_bug.cgi?id=305416
rdar://168088611

Reviewed by Tim Horton.

Font subpixel quantization allows for better glyph caching, so it's preferable 
to keep enabled
when possible. The code in `RenderLayer::setupFontSubpixelQuantization()` ended 
up disabling
it in more cases than necessary. The intent was to disable it for painted 
scrollers, but
this coded disabled it in more cases:
* A page may not have a scrollingCoordinator if it's the SVG "utility page"

* 
LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/massive-element-left-of-viewport-offscreen-old.html:
 One pixel is different
* Source/WebCore/page/scrolling/ScrollingCoordinator.cpp:
(WebCore::ScrollingCoordinator::shouldUpdateScrollLayerPositionSynchronously 
const):
* Source/WebCore/rendering/RenderBox.h:
* Source/WebCore/rendering/RenderBoxInlines.h:
(WebCore::RenderBox::hasScrollableOverflow const):
* Source/WebCore/rendering/RenderLayer.cpp:
(WebCore::RenderLayer::setupFontSubpixelQuantization):

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



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

Reply via email to