Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d95fabda394f2195392d3a6ac87e102e8c073969
      
https://github.com/WebKit/WebKit/commit/d95fabda394f2195392d3a6ac87e102e8c073969
  Author: Vitor Roriz <[email protected]>
  Date:   2025-07-03 (Thu, 03 Jul 2025)

  Changed paths:
    M Source/WebCore/platform/graphics/WidthIterator.cpp

  Log Message:
  -----------
  text-spacing: text-autospace: should not impact 
WidthIterator::calculateAdditionalWidth
https://bugs.webkit.org/show_bug.cgi?id=295345
rdar://154877094

Reviewed by Matthieu Dubet.

text-autospace should not affect WidthIterator::calculateAdditionalWidth.
text-autospace is calculated independently from this function and has no 
relation to it.

hasExtraSpacing is used to guard both applyExtraSpacingAfterShaping and some 
unrelated code
on calculateAdditionalWidth. We have made text-autospace affect hasExtraSpacing 
thinking on
applyExtraSpacingAfterShaping but we don't want to affect 
calculateAdditionalWidth. We just
ended up doing a bit of unnecessary work there.

This should have no side effects.

* Source/WebCore/platform/graphics/WidthIterator.cpp:
(WebCore::WidthIterator::hasExtraSpacing const):

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