⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 286147 in webkit


Ignore:
Timestamp:
Nov 24, 2021, 6:14:28 AM (5 years ago)
Author:
Alan Bujtas
Message:

[IFC][Integration] RenderQuote is not a RenderText
https://bugs.webkit.org/show_bug.cgi?id=233457

Reviewed by Antti Koivisto.

It's a RenderInline since r162972.

  • layout/integration/LayoutIntegrationCoverage.cpp:

(WebCore::LayoutIntegration::canUseForFontAndText):
(WebCore::LayoutIntegration::canUseForRenderInlineChild):

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r286142 r286147  
     12021-11-24  Alan Bujtas  <zalan@apple.com>
     2
     3        [IFC][Integration] RenderQuote is not a RenderText
     4        https://bugs.webkit.org/show_bug.cgi?id=233457
     5
     6        Reviewed by Antti Koivisto.
     7
     8        It's a RenderInline since r162972.
     9
     10        * layout/integration/LayoutIntegrationCoverage.cpp:
     11        (WebCore::LayoutIntegration::canUseForFontAndText):
     12        (WebCore::LayoutIntegration::canUseForRenderInlineChild):
     13
    1142021-11-23  Cameron McCormack  <heycam@apple.com>
    215
  • trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp

    r286133 r286147  
    162162        stream << "RenderCounter";
    163163        break;
    164     case AvoidanceReason::FlowTextIsRenderQuote:
     164    case AvoidanceReason::ContentIsRenderQuote:
    165165        stream << "RenderQuote";
    166166        break;
     
    407407        if (textRenderer.isCounter())
    408408            SET_REASON_AND_RETURN_IF_NEEDED(FlowTextIsRenderCounter, reasons, includeReasons);
    409         if (textRenderer.isQuote())
    410             SET_REASON_AND_RETURN_IF_NEEDED(FlowTextIsRenderQuote, reasons, includeReasons);
    411409        if (textRenderer.isTextFragment())
    412410            SET_REASON_AND_RETURN_IF_NEEDED(FlowTextIsTextFragment, reasons, includeReasons);
     
    472470    if (renderInline.isSVGInline())
    473471        SET_REASON_AND_RETURN_IF_NEEDED(ContentIsSVG, reasons, includeReasons);
    474     if (renderInline.isRubyInline() || renderInline.isQuote())
     472    if (renderInline.isRubyInline())
    475473        SET_REASON_AND_RETURN_IF_NEEDED(ContentIsRuby, reasons, includeReasons);
     474    if (renderInline.isQuote())
     475        SET_REASON_AND_RETURN_IF_NEEDED(ContentIsRenderQuote, reasons, includeReasons);
    476476    if (renderInline.requiresLayer())
    477477        SET_REASON_AND_RETURN_IF_NEEDED(InlineBoxNeedsLayer, reasons, includeReasons)
  • trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.h

    r286133 r286147  
    7676    FlowTextIsCombineText                        = 1LLU  << 35,
    7777    FlowTextIsRenderCounter                      = 1LLU  << 36,
    78     FlowTextIsRenderQuote                        = 1LLU  << 37,
     78    ContentIsRenderQuote                         = 1LLU  << 37,
    7979    FlowTextIsTextFragment                       = 1LLU  << 38,
    8080    FlowTextIsSVGInlineText                      = 1LLU  << 39,
Note: See TracChangeset for help on using the changeset viewer.