Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
computeUnderlineOffset should not take InlineIterator::LineBoxIterator
https://bugs.webkit.org/show_bug.cgi?id=241488 Reviewed by Antti Koivisto. Let's precompute the text run's offset value so that we don't have to pass in a LineBoxIterator to computeUnderlineOffset. * Source/WebCore/rendering/TextDecorationPainter.cpp: (WebCore::TextDecorationPainter::paintBackgroundDecorations): * Source/WebCore/style/InlineTextBoxStyle.cpp: (WebCore::textRunLogicalOffsetFromLineBottom): (WebCore::computeUnderlineOffset): (WebCore::visualOverflowForDecorations): * Source/WebCore/style/InlineTextBoxStyle.h: Canonical link: https://commits.webkit.org/251459@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@295453 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
fee8624
commit 7fd49d14866d6156bf7cf8e66093baef07272025
Showing
3 changed files
with
35 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters