Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Missing underline after the first character in contenteditable
https://bugs.webkit.org/show_bug.cgi?id=255357 <rdar://107846703> Reviewed by Antti Koivisto. RenderText's m_min/m_maxWidth values become stale when we dynamically switch over to IFC preferred width computation. (and sadly these (cached) values are consulted when RenderText::width is called with [0, text-length] range). * Source/WebCore/rendering/RenderBlockFlow.cpp: (WebCore::RenderBlockFlow::tryComputePreferredWidthsUsingModernPath): * Source/WebCore/rendering/RenderCounter.cpp: (WebCore::RenderCounter::computePreferredLogicalWidths): (forcedMinMaxWidthComputation is to suppress ASSERT) * Source/WebCore/rendering/RenderCounter.h: * Source/WebCore/rendering/RenderText.cpp: (WebCore::RenderText::minLogicalWidth const): (WebCore::RenderText::maxLogicalWidth const): (WebCore::RenderText::computePreferredLogicalWidths): (WebCore::RenderText::width const): * Source/WebCore/rendering/RenderText.h: (WebCore::RenderText::resetMinMaxWidth): Canonical link: https://commits.webkit.org/262914@main
- Loading branch information
1 parent
563b555
commit 3904de1
Showing
5 changed files
with
28 additions
and
13 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
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