Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c00cc818dc4323829e07854fb7ca2151f2d99eaf
https://github.com/WebKit/WebKit/commit/c00cc818dc4323829e07854fb7ca2151f2d99eaf
Author: Vitor Roriz <[email protected]>
Date: 2024-10-16 (Wed, 16 Oct 2024)
Changed paths:
M Source/WebCore/platform/graphics/WidthIterator.cpp
Log Message:
-----------
text-spacing: text-spacing-trim: Avoid character class computation when not
needed
https://bugs.webkit.org/show_bug.cgi?id=281629
rdar://problem/138067688
Reviewed by Sammy Gill.
This patch avoids character class computation if it is not necessary, i.e.:
when text-spacing-trim is space-all.
We already return early from shouldApplySpacing when text-spacing-trim:
space-all is set
but we are still computing character's class, which is not necessary in such
case.
* Source/WebCore/platform/graphics/WidthIterator.cpp:
(WebCore::WidthIterator::advanceInternal):
Canonical link: https://commits.webkit.org/285297@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