[webkit-changes] [WebKit/WebKit] dc839a: [IFC] Pre-compute "content has strong directionali...

Alan Baradlay noreply at github.com
Tue Nov 21 07:14:47 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dc839aa94c04e7f8ce217444ee19d9ac09d8b79a
      https://github.com/WebKit/WebKit/commit/dc839aa94c04e7f8ce217444ee19d9ac09d8b79a
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-11-21 (Tue, 21 Nov 2023)

  Changed paths:
    M Source/WebCore/layout/formattingContexts/inline/InlineLevelBox.h
    M Source/WebCore/layout/formattingContexts/inline/text/TextUtil.cpp
    M Source/WebCore/layout/formattingContexts/inline/text/TextUtil.h
    M Source/WebCore/layout/integration/LayoutIntegrationBoxTree.cpp
    M Source/WebCore/layout/layouttree/LayoutInlineTextBox.cpp
    M Source/WebCore/layout/layouttree/LayoutInlineTextBox.h
    M Source/WebCore/layout/layouttree/LayoutTreeBuilder.cpp
    M Source/WebCore/rendering/RenderText.cpp
    M Source/WebCore/rendering/RenderText.h

  Log Message:
  -----------
  [IFC] Pre-compute "content has strong directionality character" bit
https://bugs.webkit.org/show_bug.cgi?id=265166

Reviewed by Antti Koivisto.

* Source/WebCore/layout/formattingContexts/inline/text/TextUtil.cpp:
(WebCore::Layout::TextUtil::isStrongDirectionalityCharacter):
(WebCore::Layout::TextUtil::containsStrongDirectionalityText):
* Source/WebCore/layout/formattingContexts/inline/text/TextUtil.h:
* Source/WebCore/layout/integration/LayoutIntegrationBoxTree.cpp:
(WebCore::LayoutIntegration::BoxTree::createLayoutBox):
(WebCore::LayoutIntegration::BoxTree::updateContent):
* Source/WebCore/layout/layouttree/LayoutInlineTextBox.cpp:
(WebCore::Layout::InlineTextBox::InlineTextBox):
(WebCore::Layout::m_contentCharacteristicSet):
(WebCore::Layout::m_hasPositionDependentContentWidth): Deleted.
* Source/WebCore/layout/layouttree/LayoutInlineTextBox.h:
(WebCore::Layout::InlineTextBox::canUseSimplifiedContentMeasuring const):
(WebCore::Layout::InlineTextBox::canUseSimpleFontCodePath const):
(WebCore::Layout::InlineTextBox::hasPositionDependentContentWidth const):
(WebCore::Layout::InlineTextBox::updateContent):
* Source/WebCore/layout/layouttree/LayoutTreeBuilder.cpp:
(WebCore::Layout::TreeBuilder::createTextBox):
* Source/WebCore/rendering/RenderText.cpp:
(WebCore::RenderText::initiateFontLoadingByAccessingGlyphDataAndComputeCanUseSimplifiedTextMeasuring):
(WebCore::RenderText::setRenderedText):
* Source/WebCore/rendering/RenderText.h:

Canonical link: https://commits.webkit.org/271016@main




More information about the webkit-changes mailing list