b9f401b352
https://bugs.webkit.org/show_bug.cgi?id=229388 Reviewed by Alan Bujtas. WidthIterator::applyCSSVisibilityRules() has some special handling for specific characters. If those characters are present, we need to make sure we actually use WidthIterator::applyCSSVisibilityRules() instead of taking the fast path in FontCascade::widthForSimpleText(). This is split out from https://bugs.webkit.org/show_bug.cgi?id=215643, and will be tested by that bug's test. * layout/layouttree/LayoutTreeBuilder.cpp: (WebCore::Layout::canUseSimplifiedTextMeasuring): * platform/graphics/WidthIterator.cpp: (WebCore::WidthIterator::characterCanUseSimplifiedTextMeasuring): (WebCore::WidthIterator::applyCSSVisibilityRules): * platform/graphics/WidthIterator.h: * rendering/RenderText.cpp: (WebCore::RenderText::computeCanUseSimplifiedTextMeasuring const): Canonical link: https://commits.webkit.org/240813@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281423 268f45cc-cd09-0410-ab3c-d52691b4dbfc |
||
---|---|---|
.. | ||
LayoutBox.cpp | ||
LayoutBox.h | ||
LayoutBoxGeometry.cpp | ||
LayoutBoxGeometry.h | ||
LayoutChildIterator.h | ||
LayoutContainerBox.cpp | ||
LayoutContainerBox.h | ||
LayoutContainingBlockChainIterator.h | ||
LayoutDescendantIterator.h | ||
LayoutGeometryRect.h | ||
LayoutInitialContainingBlock.cpp | ||
LayoutInitialContainingBlock.h | ||
LayoutInlineTextBox.cpp | ||
LayoutInlineTextBox.h | ||
LayoutIterator.h | ||
LayoutLineBreakBox.cpp | ||
LayoutLineBreakBox.h | ||
LayoutReplacedBox.cpp | ||
LayoutReplacedBox.h | ||
LayoutTreeBuilder.cpp | ||
LayoutTreeBuilder.h |