Title: [286147] trunk/Source/WebCore
- Revision
- 286147
- Author
- [email protected]
- Date
- 2021-11-24 06:14:28 -0800 (Wed, 24 Nov 2021)
Log 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):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (286146 => 286147)
--- trunk/Source/WebCore/ChangeLog 2021-11-24 13:41:00 UTC (rev 286146)
+++ trunk/Source/WebCore/ChangeLog 2021-11-24 14:14:28 UTC (rev 286147)
@@ -1,3 +1,16 @@
+2021-11-24 Alan Bujtas <[email protected]>
+
+ [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):
+
2021-11-23 Cameron McCormack <[email protected]>
Remove unnecessary explicit initializer_list usage
Modified: trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp (286146 => 286147)
--- trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp 2021-11-24 13:41:00 UTC (rev 286146)
+++ trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp 2021-11-24 14:14:28 UTC (rev 286147)
@@ -161,7 +161,7 @@
case AvoidanceReason::FlowTextIsRenderCounter:
stream << "RenderCounter";
break;
- case AvoidanceReason::FlowTextIsRenderQuote:
+ case AvoidanceReason::ContentIsRenderQuote:
stream << "RenderQuote";
break;
case AvoidanceReason::FlowTextIsTextFragment:
@@ -406,8 +406,6 @@
SET_REASON_AND_RETURN_IF_NEEDED(FlowTextIsCombineText, reasons, includeReasons);
if (textRenderer.isCounter())
SET_REASON_AND_RETURN_IF_NEEDED(FlowTextIsRenderCounter, reasons, includeReasons);
- if (textRenderer.isQuote())
- SET_REASON_AND_RETURN_IF_NEEDED(FlowTextIsRenderQuote, reasons, includeReasons);
if (textRenderer.isTextFragment())
SET_REASON_AND_RETURN_IF_NEEDED(FlowTextIsTextFragment, reasons, includeReasons);
if (textRenderer.isSVGInlineText())
@@ -471,8 +469,10 @@
if (renderInline.isSVGInline())
SET_REASON_AND_RETURN_IF_NEEDED(ContentIsSVG, reasons, includeReasons);
- if (renderInline.isRubyInline() || renderInline.isQuote())
+ if (renderInline.isRubyInline())
SET_REASON_AND_RETURN_IF_NEEDED(ContentIsRuby, reasons, includeReasons);
+ if (renderInline.isQuote())
+ SET_REASON_AND_RETURN_IF_NEEDED(ContentIsRenderQuote, reasons, includeReasons);
if (renderInline.requiresLayer())
SET_REASON_AND_RETURN_IF_NEEDED(InlineBoxNeedsLayer, reasons, includeReasons)
Modified: trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.h (286146 => 286147)
--- trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.h 2021-11-24 13:41:00 UTC (rev 286146)
+++ trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.h 2021-11-24 14:14:28 UTC (rev 286147)
@@ -75,7 +75,7 @@
// Unused = 1LLU << 34,
FlowTextIsCombineText = 1LLU << 35,
FlowTextIsRenderCounter = 1LLU << 36,
- FlowTextIsRenderQuote = 1LLU << 37,
+ ContentIsRenderQuote = 1LLU << 37,
FlowTextIsTextFragment = 1LLU << 38,
FlowTextIsSVGInlineText = 1LLU << 39,
FlowHasComplexFontCodePath = 1LLU << 40,
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes