Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: dbc4b72cdf2ef19c049915e951d267c988c87822 https://github.com/WebKit/WebKit/commit/dbc4b72cdf2ef19c049915e951d267c988c87822 Author: Darin Adler <da...@apple.com> Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths: M Source/WebCore/Headers.cmake M Source/WebCore/Modules/model-element/HTMLModelElement.cpp M Source/WebCore/WebCore.xcodeproj/project.pbxproj M Source/WebCore/accessibility/AccessibilityList.cpp M Source/WebCore/accessibility/AccessibilityRenderObject.cpp M Source/WebCore/accessibility/AccessibilitySlider.cpp M Source/WebCore/accessibility/atspi/AccessibilityObjectComponentAtspi.cpp M Source/WebCore/accessibility/atspi/AccessibilityObjectTextAtspi.cpp M Source/WebCore/animation/AnimationTimeline.h M Source/WebCore/animation/CSSPropertyAnimation.cpp M Source/WebCore/animation/KeyframeEffect.cpp M Source/WebCore/animation/KeyframeEffect.h M Source/WebCore/css/BasicShapeFunctions.cpp M Source/WebCore/css/CSSComputedStyleDeclaration.cpp M Source/WebCore/css/CSSGridTemplateAreasValue.cpp M Source/WebCore/css/CSSLineBoxContainValue.h M Source/WebCore/css/CSSPrimitiveValue.cpp M Source/WebCore/css/CSSPrimitiveValueMappings.h M Source/WebCore/css/CSSProperties.json M Source/WebCore/css/CSSVariableData.h M Source/WebCore/css/CSSVariableReferenceValue.cpp M Source/WebCore/css/ComputedStyleExtractor.cpp M Source/WebCore/css/MediaQueryMatcher.cpp M Source/WebCore/css/SVGCSSComputedStyleDeclaration.cpp M Source/WebCore/css/calc/CSSCalcExpressionNodeParser.cpp M Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp M Source/WebCore/css/parser/SizesCalcParser.h M Source/WebCore/css/process-css-properties.py M Source/WebCore/css/query/ContainerQueryFeatures.cpp M Source/WebCore/css/query/GenericMediaQueryParser.h M Source/WebCore/css/typedom/CSSUnparsedValue.cpp M Source/WebCore/css/typedom/ComputedStylePropertyMapReadOnly.cpp M Source/WebCore/display/DisplayTreeBuilder.cpp M Source/WebCore/display/css/DisplayBoxDecorationData.cpp M Source/WebCore/display/css/DisplayBoxFactory.cpp M Source/WebCore/display/css/DisplayFillLayerImageGeometry.cpp M Source/WebCore/display/css/DisplayStyle.cpp M Source/WebCore/dom/Document.cpp M Source/WebCore/dom/Document.h M Source/WebCore/dom/Element.cpp M Source/WebCore/dom/Element.h M Source/WebCore/dom/ElementInlines.h M Source/WebCore/dom/FragmentDirectiveRangeFinder.cpp M Source/WebCore/dom/ImageOverlay.cpp M Source/WebCore/dom/Position.cpp M Source/WebCore/editing/ApplyBlockElementCommand.cpp M Source/WebCore/editing/DeleteSelectionCommand.cpp M Source/WebCore/editing/Editing.cpp M Source/WebCore/editing/EditingStyle.cpp M Source/WebCore/editing/HTMLInterchange.cpp M Source/WebCore/editing/InsertLineBreakCommand.cpp M Source/WebCore/editing/ReplaceSelectionCommand.cpp M Source/WebCore/editing/TextIterator.cpp M Source/WebCore/editing/VisibleUnits.cpp M Source/WebCore/html/HTMLCanvasElement.cpp M Source/WebCore/html/HTMLElement.cpp M Source/WebCore/html/HTMLImageElement.cpp M Source/WebCore/html/HTMLInputElement.cpp M Source/WebCore/html/HTMLMarqueeElement.cpp M Source/WebCore/html/HTMLMediaElement.cpp M Source/WebCore/html/HTMLMetaElement.cpp M Source/WebCore/html/HTMLTextFormControlElement.cpp M Source/WebCore/html/HTMLTitleElement.cpp M Source/WebCore/html/ImageInputType.cpp M Source/WebCore/html/NumberInputType.cpp M Source/WebCore/html/ValidationMessage.cpp M Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp M Source/WebCore/html/canvas/CanvasRenderingContext2DBase.cpp M Source/WebCore/html/shadow/DateTimeFieldElement.cpp M Source/WebCore/html/shadow/DateTimeNumericFieldElement.cpp M Source/WebCore/html/shadow/SliderThumbElement.cpp M Source/WebCore/html/shadow/TextControlInnerElements.cpp M Source/WebCore/inspector/InspectorOverlay.cpp M Source/WebCore/layout/LayoutState.h M Source/WebCore/layout/Verification.cpp M Source/WebCore/layout/floats/FloatingContext.cpp M Source/WebCore/layout/formattingContexts/FormattingContext.cpp M Source/WebCore/layout/formattingContexts/FormattingGeometry.cpp M Source/WebCore/layout/formattingContexts/block/BlockFormattingQuirks.cpp M Source/WebCore/layout/formattingContexts/block/BlockMarginCollapse.cpp M Source/WebCore/layout/formattingContexts/block/PrecomputedBlockMarginCollapse.cpp M Source/WebCore/layout/formattingContexts/flex/FlexFormattingContext.cpp M Source/WebCore/layout/formattingContexts/flex/FlexFormattingGeometry.cpp M Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp M Source/WebCore/layout/formattingContexts/inline/InlineContentBreaker.h M Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp M Source/WebCore/layout/formattingContexts/inline/InlineFormattingGeometry.cpp M Source/WebCore/layout/formattingContexts/inline/InlineFormattingQuirks.cpp M Source/WebCore/layout/formattingContexts/inline/InlineItemsBuilder.cpp M Source/WebCore/layout/formattingContexts/inline/InlineLevelBox.h A Source/WebCore/layout/formattingContexts/inline/InlineLevelBoxInlines.h M Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp M Source/WebCore/layout/formattingContexts/inline/InlineLine.h M Source/WebCore/layout/formattingContexts/inline/InlineLineBox.h M Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp M Source/WebCore/layout/formattingContexts/inline/InlineLineBoxVerticalAligner.cpp M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp M Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayBox.h A Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayBoxInlines.h M Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp M Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayLineBuilder.cpp M Source/WebCore/layout/formattingContexts/inline/text/TextUtil.cpp M Source/WebCore/layout/formattingContexts/table/TableFormattingGeometry.cpp M Source/WebCore/layout/formattingContexts/table/TableFormattingQuirks.cpp M Source/WebCore/layout/integration/LayoutIntegrationBoxTree.cpp M Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp M Source/WebCore/layout/integration/flex/LayoutIntegrationFlexLayout.cpp M Source/WebCore/layout/integration/inline/InlineIteratorBox.h A Source/WebCore/layout/integration/inline/InlineIteratorBoxInlines.h M Source/WebCore/layout/integration/inline/InlineIteratorBoxModernPath.h A Source/WebCore/layout/integration/inline/InlineIteratorBoxModernPathInlines.h M Source/WebCore/layout/integration/inline/InlineIteratorLineBox.cpp M Source/WebCore/layout/integration/inline/InlineIteratorLineBox.h A Source/WebCore/layout/integration/inline/InlineIteratorLineBoxInlines.h M Source/WebCore/layout/integration/inline/InlineIteratorTextBox.cpp M Source/WebCore/layout/integration/inline/InlineIteratorTextBox.h A Source/WebCore/layout/integration/inline/InlineIteratorTextBoxInlines.h M Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentBuilder.cpp M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp M Source/WebCore/layout/layouttree/LayoutBox.h A Source/WebCore/layout/layouttree/LayoutBoxInlines.h M Source/WebCore/layout/layouttree/LayoutElementBox.h M Source/WebCore/layout/layouttree/LayoutTreeBuilder.cpp M Source/WebCore/loader/SubframeLoader.cpp M Source/WebCore/mathml/MathMLPresentationElement.cpp M Source/WebCore/page/DOMSelection.cpp M Source/WebCore/page/InteractionRegion.cpp M Source/WebCore/page/LocalFrameView.cpp M Source/WebCore/page/ResizeObservation.cpp M Source/WebCore/page/SpatialNavigation.cpp M Source/WebCore/page/ios/ContentChangeObserver.cpp M Source/WebCore/page/scrolling/ScrollSnapOffsetsInfo.cpp M Source/WebCore/platform/ScrollTypes.h M Source/WebCore/platform/animation/AcceleratedEffectValues.cpp M Source/WebCore/platform/animation/AcceleratedEffectValues.h M Source/WebCore/platform/graphics/FloatSize.h M Source/WebCore/platform/graphics/ImageOrientation.h M Source/WebCore/platform/graphics/RoundedRect.cpp M Source/WebCore/platform/graphics/RoundedRect.h M Source/WebCore/platform/graphics/TabSize.h M Source/WebCore/platform/graphics/filters/FilterOperations.h M Source/WebCore/platform/graphics/transforms/TransformOperations.cpp M Source/WebCore/platform/graphics/transforms/TransformOperations.h M Source/WebCore/platform/text/TextFlags.h M Source/WebCore/rendering/AutoTableLayout.cpp M Source/WebCore/rendering/BackgroundPainter.cpp M Source/WebCore/rendering/BackgroundPainter.h M Source/WebCore/rendering/BorderPainter.cpp M Source/WebCore/rendering/BorderPainter.h M Source/WebCore/rendering/FixedTableLayout.cpp M Source/WebCore/rendering/FlexibleBoxAlgorithm.cpp M Source/WebCore/rendering/GridBaselineAlignment.cpp M Source/WebCore/rendering/GridMasonryLayout.cpp M Source/WebCore/rendering/GridTrackSizingAlgorithm.cpp M Source/WebCore/rendering/HitTestLocation.h M Source/WebCore/rendering/InlineBoxPainter.cpp M Source/WebCore/rendering/LegacyEllipsisBox.cpp M Source/WebCore/rendering/LegacyInlineFlowBox.cpp M Source/WebCore/rendering/LegacyInlineFlowBox.h A Source/WebCore/rendering/LegacyInlineFlowBoxInlines.h M Source/WebCore/rendering/LegacyInlineIterator.h A Source/WebCore/rendering/LegacyInlineIteratorInlines.h M Source/WebCore/rendering/LegacyLineLayout.cpp M Source/WebCore/rendering/LegacyRootInlineBox.cpp M Source/WebCore/rendering/LogicalSelectionOffsetCaches.h M Source/WebCore/rendering/RenderAttachment.cpp M Source/WebCore/rendering/RenderBlock.cpp M Source/WebCore/rendering/RenderBlock.h M Source/WebCore/rendering/RenderBlockFlow.cpp M Source/WebCore/rendering/RenderBlockFlow.h A Source/WebCore/rendering/RenderBlockFlowInlines.h A Source/WebCore/rendering/RenderBlockInlines.h M Source/WebCore/rendering/RenderBox.cpp M Source/WebCore/rendering/RenderBox.h A Source/WebCore/rendering/RenderBoxInlines.h M Source/WebCore/rendering/RenderBoxModelObject.cpp M Source/WebCore/rendering/RenderBoxModelObject.h A Source/WebCore/rendering/RenderBoxModelObjectInlines.h M Source/WebCore/rendering/RenderButton.cpp M Source/WebCore/rendering/RenderCounter.cpp M Source/WebCore/rendering/RenderCounter.h M Source/WebCore/rendering/RenderDeprecatedFlexibleBox.cpp M Source/WebCore/rendering/RenderElement.cpp M Source/WebCore/rendering/RenderElement.h A Source/WebCore/rendering/RenderElementInlines.h M Source/WebCore/rendering/RenderEmbeddedObject.cpp M Source/WebCore/rendering/RenderFileUploadControl.cpp M Source/WebCore/rendering/RenderFlexibleBox.cpp M Source/WebCore/rendering/RenderGrid.cpp M Source/WebCore/rendering/RenderGrid.h M Source/WebCore/rendering/RenderImage.cpp M Source/WebCore/rendering/RenderInline.cpp M Source/WebCore/rendering/RenderInline.h M Source/WebCore/rendering/RenderLayer.cpp M Source/WebCore/rendering/RenderLayer.h M Source/WebCore/rendering/RenderLayerBacking.cpp M Source/WebCore/rendering/RenderLayerCompositor.cpp A Source/WebCore/rendering/RenderLayerInlines.h M Source/WebCore/rendering/RenderLayerModelObject.h M Source/WebCore/rendering/RenderLayerScrollableArea.cpp M Source/WebCore/rendering/RenderLineBreak.cpp M Source/WebCore/rendering/RenderListBox.cpp M Source/WebCore/rendering/RenderListBox.h M Source/WebCore/rendering/RenderListItem.cpp M Source/WebCore/rendering/RenderListMarker.cpp M Source/WebCore/rendering/RenderListMarker.h M Source/WebCore/rendering/RenderMenuList.cpp M Source/WebCore/rendering/RenderMultiColumnSet.cpp M Source/WebCore/rendering/RenderObject.cpp M Source/WebCore/rendering/RenderObject.h A Source/WebCore/rendering/RenderObjectInlines.h M Source/WebCore/rendering/RenderReplaced.cpp M Source/WebCore/rendering/RenderReplaced.h M Source/WebCore/rendering/RenderRubyText.cpp M Source/WebCore/rendering/RenderScrollbar.cpp M Source/WebCore/rendering/RenderSearchField.cpp M Source/WebCore/rendering/RenderSlider.cpp M Source/WebCore/rendering/RenderTable.cpp M Source/WebCore/rendering/RenderTable.h M Source/WebCore/rendering/RenderTableCaption.cpp M Source/WebCore/rendering/RenderTableCaption.h M Source/WebCore/rendering/RenderTableCell.cpp M Source/WebCore/rendering/RenderTableCell.h A Source/WebCore/rendering/RenderTableCellInlines.h A Source/WebCore/rendering/RenderTableInlines.h M Source/WebCore/rendering/RenderTableRow.cpp M Source/WebCore/rendering/RenderTableRow.h A Source/WebCore/rendering/RenderTableRowInlines.h M Source/WebCore/rendering/RenderTableSection.cpp M Source/WebCore/rendering/RenderTableSection.h A Source/WebCore/rendering/RenderTableSectionInlines.h M Source/WebCore/rendering/RenderText.cpp M Source/WebCore/rendering/RenderText.h M Source/WebCore/rendering/RenderTextControl.cpp M Source/WebCore/rendering/RenderTextControl.h M Source/WebCore/rendering/RenderTextControlMultiLine.cpp M Source/WebCore/rendering/RenderTextControlSingleLine.cpp M Source/WebCore/rendering/RenderTextControlSingleLine.h M Source/WebCore/rendering/RenderTextInlines.h M Source/WebCore/rendering/RenderTextLineBoxes.cpp M Source/WebCore/rendering/RenderTheme.cpp M Source/WebCore/rendering/RenderThemeAdwaita.cpp M Source/WebCore/rendering/RenderThemeCocoa.mm M Source/WebCore/rendering/RenderThemeIOS.mm M Source/WebCore/rendering/RenderThemeMac.mm M Source/WebCore/rendering/RenderTreeAsText.cpp M Source/WebCore/rendering/RenderVTTCue.cpp M Source/WebCore/rendering/RenderVideo.cpp M Source/WebCore/rendering/RenderView.cpp M Source/WebCore/rendering/RenderView.h M Source/WebCore/rendering/RenderWidget.cpp M Source/WebCore/rendering/TextAutoSizing.cpp M Source/WebCore/rendering/TextBoxPainter.cpp M Source/WebCore/rendering/line/BreakingContext.h M Source/WebCore/rendering/line/LineBreaker.h M Source/WebCore/rendering/line/LineInlineHeaders.h M Source/WebCore/rendering/mathml/RenderMathMLBlock.cpp M Source/WebCore/rendering/mathml/RenderMathMLBlock.h A Source/WebCore/rendering/mathml/RenderMathMLBlockInlines.h M Source/WebCore/rendering/mathml/RenderMathMLFraction.cpp M Source/WebCore/rendering/mathml/RenderMathMLMenclose.cpp M Source/WebCore/rendering/mathml/RenderMathMLPadded.cpp M Source/WebCore/rendering/mathml/RenderMathMLSpace.cpp M Source/WebCore/rendering/mathml/RenderMathMLUnderOver.cpp M Source/WebCore/rendering/shapes/BoxShape.cpp M Source/WebCore/rendering/shapes/ShapeOutsideInfo.cpp M Source/WebCore/rendering/style/BorderData.h M Source/WebCore/rendering/style/BorderValue.cpp M Source/WebCore/rendering/style/CounterDirectives.h M Source/WebCore/rendering/style/GapLength.h M Source/WebCore/rendering/style/GridArea.h M Source/WebCore/rendering/style/GridPositionsResolver.cpp M Source/WebCore/rendering/style/LineClampValue.h M Source/WebCore/rendering/style/OffsetRotation.cpp M Source/WebCore/rendering/style/OffsetRotation.h M Source/WebCore/rendering/style/RenderStyle.cpp M Source/WebCore/rendering/style/RenderStyle.h M Source/WebCore/rendering/style/RenderStyleConstants.cpp M Source/WebCore/rendering/style/RenderStyleConstants.h A Source/WebCore/rendering/style/RenderStyleInlines.h A Source/WebCore/rendering/style/RenderStyleSetters.h M Source/WebCore/rendering/style/SVGRenderStyle.h M Source/WebCore/rendering/style/SVGRenderStyleDefs.cpp M Source/WebCore/rendering/style/StyleBackgroundData.cpp M Source/WebCore/rendering/style/StyleColorScheme.h M Source/WebCore/rendering/style/StyleContentAlignmentData.h M Source/WebCore/rendering/style/StyleDeprecatedFlexibleBoxData.cpp M Source/WebCore/rendering/style/StyleFlexibleBoxData.cpp M Source/WebCore/rendering/style/StyleGradientImage.cpp M Source/WebCore/rendering/style/StyleGridData.cpp M Source/WebCore/rendering/style/StyleGridData.h M Source/WebCore/rendering/style/StyleGridItemData.cpp M Source/WebCore/rendering/style/StyleInheritedData.cpp M Source/WebCore/rendering/style/StyleMarqueeData.cpp M Source/WebCore/rendering/style/StyleMarqueeData.h M Source/WebCore/rendering/style/StyleMiscNonInheritedData.cpp M Source/WebCore/rendering/style/StyleMiscNonInheritedData.h M Source/WebCore/rendering/style/StyleNonInheritedData.cpp M Source/WebCore/rendering/style/StyleNonInheritedData.h M Source/WebCore/rendering/style/StyleRareInheritedData.cpp M Source/WebCore/rendering/style/StyleRareInheritedData.h M Source/WebCore/rendering/style/StyleRareNonInheritedData.cpp M Source/WebCore/rendering/style/StyleRareNonInheritedData.h M Source/WebCore/rendering/style/StyleSelfAlignmentData.h M Source/WebCore/rendering/style/TextDecorationThickness.h M Source/WebCore/rendering/style/TextSizeAdjustment.cpp M Source/WebCore/rendering/style/TextSizeAdjustment.h M Source/WebCore/rendering/style/TextUnderlineOffset.h M Source/WebCore/rendering/svg/LegacyRenderSVGEllipse.cpp M Source/WebCore/rendering/svg/LegacyRenderSVGForeignObject.cpp M Source/WebCore/rendering/svg/LegacyRenderSVGRoot.cpp M Source/WebCore/rendering/svg/LegacyRenderSVGShape.cpp M Source/WebCore/rendering/svg/LegacyRenderSVGShape.h M Source/WebCore/rendering/svg/LegacyRenderSVGShapeInlines.h M Source/WebCore/rendering/svg/RenderSVGBlock.cpp M Source/WebCore/rendering/svg/RenderSVGForeignObject.h M Source/WebCore/rendering/svg/RenderSVGHiddenContainer.h M Source/WebCore/rendering/svg/RenderSVGImage.cpp M Source/WebCore/rendering/svg/RenderSVGImage.h M Source/WebCore/rendering/svg/RenderSVGInline.cpp M Source/WebCore/rendering/svg/RenderSVGModelObject.cpp M Source/WebCore/rendering/svg/RenderSVGPath.cpp M Source/WebCore/rendering/svg/RenderSVGResourceClipper.cpp M Source/WebCore/rendering/svg/RenderSVGResourceMasker.cpp M Source/WebCore/rendering/svg/RenderSVGResourcePattern.cpp M Source/WebCore/rendering/svg/RenderSVGRoot.cpp M Source/WebCore/rendering/svg/RenderSVGShape.cpp M Source/WebCore/rendering/svg/RenderSVGShape.h M Source/WebCore/rendering/svg/RenderSVGShapeInlines.h M Source/WebCore/rendering/svg/RenderSVGTSpan.h M Source/WebCore/rendering/svg/RenderSVGText.cpp M Source/WebCore/rendering/svg/RenderSVGText.h M Source/WebCore/rendering/svg/RenderSVGTextPath.cpp M Source/WebCore/rendering/svg/RenderSVGTransformableContainer.h M Source/WebCore/rendering/svg/RenderSVGViewportContainer.h M Source/WebCore/rendering/svg/SVGBoundingBoxComputation.cpp M Source/WebCore/rendering/svg/SVGInlineTextBox.cpp M Source/WebCore/rendering/svg/SVGLayerTransformUpdater.h M Source/WebCore/rendering/svg/SVGPathData.cpp M Source/WebCore/rendering/svg/SVGRenderSupport.cpp M Source/WebCore/rendering/svg/SVGRenderTreeAsText.cpp M Source/WebCore/rendering/svg/SVGTextChunk.cpp M Source/WebCore/rendering/svg/SVGTextMetrics.cpp M Source/WebCore/rendering/updating/RenderTreeBuilderFirstLetter.cpp M Source/WebCore/rendering/updating/RenderTreeBuilderSVG.cpp M Source/WebCore/rendering/updating/RenderTreeUpdaterGeneratedContent.cpp M Source/WebCore/style/CustomPropertyRegistry.cpp M Source/WebCore/style/InlineTextBoxStyle.cpp M Source/WebCore/style/MatchedDeclarationsCache.cpp A Source/WebCore/style/ResolvedStyle.h M Source/WebCore/style/StyleAdjuster.cpp M Source/WebCore/style/StyleBuilder.cpp M Source/WebCore/style/StyleBuilderConverter.h M Source/WebCore/style/StyleBuilderCustom.h M Source/WebCore/style/StyleBuilderState.cpp M Source/WebCore/style/StyleBuilderState.h A Source/WebCore/style/StyleBuilderStateInlines.h M Source/WebCore/style/StylePendingResources.cpp M Source/WebCore/style/StyleResolveForDocument.cpp M Source/WebCore/style/StyleResolver.cpp M Source/WebCore/style/StyleResolver.h M Source/WebCore/style/StyleScope.cpp M Source/WebCore/style/StyleTreeResolver.cpp M Source/WebCore/style/Styleable.cpp M Source/WebCore/svg/SVGElement.cpp M Source/WebCore/svg/SVGElementRareData.h M Source/WebCore/svg/SVGFEDiffuseLightingElement.cpp M Source/WebCore/svg/SVGFESpecularLightingElement.cpp M Source/WebCore/svg/SVGGraphicsElement.cpp M Source/WebCore/svg/SVGLength.h M Source/WebCore/svg/SVGSVGElement.cpp M Source/WebCore/svg/SVGStopElement.cpp M Source/WebCore/svg/properties/SVGAnimationAdditiveValueFunctionImpl.cpp M Source/WebCore/testing/Internals.cpp M Source/WebKit/Shared/TextFlags.serialization.in M Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePage.cpp M Source/WebKit/WebProcess/Plugins/PluginView.cpp M Source/WebKit/WebProcess/WebCoreSupport/ShareableBitmapUtilities.cpp M Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm M Source/WebKitLegacy/mac/DOM/DOM.mm M Source/WebKitLegacy/mac/DOM/DOMUIKitExtensions.mm M Source/WebKitLegacy/mac/DOM/WebDOMOperations.mm M Source/WebKitLegacy/mac/WebCoreSupport/WebContextMenuClient.mm M Source/WebKitLegacy/mac/WebView/WebFrame.mm M Source/WebKitLegacy/mac/WebView/WebView.mm Log Message: ----------- Speed up build by cutting down the size of RenderStyle.h and including it less https://bugs.webkit.org/show_bug.cgi?id=254894 rdar://problem/107536695 Reviewed by Ryosuke Niwa. Removed includes of RenderStyle.h where forward declarations will do. Changed some types to be classes so they can be forward-declared. Changed some functions with default arguments to use overloading instead so we don't have to define the relevant types in the header. Cut down RenderStyle.h so it doesn't include anything except DataRef.h. Deleted some unneeded RenderStyle functions. Kept inlining mostly the same except for a few virtual function implementations where inlining is likely not valuable. Moved inline function bodies into separate Inlines.h and Setters.h headers. Used constexpr instead of inline where possible to help make it clear this all should be constant-folded. This change moved only the inline function bodies that need to move to keep from adding otherwise-unneeded includes in headers. Later we can move more if we decide that is helpful. * Source/WebCore/Headers.cmake: Added the subset of the new headers that need to be exposed as private headers. * Source/WebCore/Modules/model-element/HTMLModelElement.cpp: Updated includes. * Source/WebCore/WebCore.xcodeproj/project.pbxproj: Added all the new headers. Also removed RenderFullScreen.h/cpp which were deleted long ago. * Source/WebCore/accessibility/AccessibilityList.cpp: Updated includes. * Source/WebCore/accessibility/AccessibilityRenderObject.cpp: Ditto. * Source/WebCore/accessibility/AccessibilitySlider.cpp: Ditto. * Source/WebCore/accessibility/atspi/AccessibilityObjectComponentAtspi.cpp: Ditto. * Source/WebCore/accessibility/atspi/AccessibilityObjectTextAtspi.cpp: Ditto. * Source/WebCore/animation/AnimationTimeline.h: Ditto. * Source/WebCore/animation/CSSPropertyAnimation.cpp: Updated includes. (WebCore::canInterpolate): Updated for change to GridTrackList. (WebCore::blendFunc): Ditto. (WebCore::LengthPointPropertyWrapper::LengthPointPropertyWrapper): Updated to expect getters that take const& for efficiency, and setters that take an object so they work with either copying or moving. (WebCore::LengthPointOrAutoPropertyWrapper::LengthPointOrAutoPropertyWrapper): Ditto. (WebCore::blendSyntaxValues): Use StyleColor::isCurrentColor instead of RenderStyle::isCurrentColor. * Source/WebCore/animation/KeyframeEffect.cpp: Updated includes. * Source/WebCore/animation/KeyframeEffect.h: Ditto. * Source/WebCore/css/BasicShapeFunctions.cpp: Ditto. * Source/WebCore/css/CSSComputedStyleDeclaration.cpp: Ditto. * Source/WebCore/css/CSSGridTemplateAreasValue.cpp: Updated includes. (WebCore::stringForPosition): Updated for change to NameGridAreaMap. (WebCore::CSSGridTemplateAreasValue::stringForRow const): Ditto. (WebCore::CSSGridTemplateAreasValue::equals const): Ditto. * Source/WebCore/css/CSSLineBoxContainValue.h: Give LineBoxContain an underlying type. * Source/WebCore/css/CSSPrimitiveValue.cpp: Updated includes. * Source/WebCore/css/CSSPrimitiveValueMappings.h: Removed unneeded TextTransform::None. * Source/WebCore/css/CSSProperties.json: Use the function named zeroLength rather than initialZeroLength, which does not make logical sense. * Source/WebCore/css/CSSVariableData.h: Updated includes. * Source/WebCore/css/CSSVariableReferenceValue.cpp: Ditto. * Source/WebCore/css/ComputedStyleExtractor.cpp: Updated includes. (WebCore::OrderedNamedLinesCollector::isEmpty const): Updated for change to NamedGridAreaMap. (WebCore::OrderedNamedLinesCollector::namedGridLineCount const): Ditto. (WebCore::OrderedNamedLinesCollectorInSubgridLayout::OrderedNamedLinesCollectorInSubgridLayout): Ditto. (WebCore::OrderedNamedLinesCollector::appendLines const): Ditto. (WebCore::valueForGridTrackList): Ditto. (WebCore::counterToCSSValue): Ditto. (WebCore::ComputedStyleExtractor::valueForPropertyInStyle): Ditto. * Source/WebCore/css/MediaQueryMatcher.cpp: Updated includes. * Source/WebCore/css/SVGCSSComputedStyleDeclaration.cpp: Ditto. * Source/WebCore/css/calc/CSSCalcExpressionNodeParser.cpp: Ditto. * Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp: Updated includes. (WebCore::CSSPropertyParserHelpers::parseGridTemplateAreasRow): Updated for change to NamedGridAreaMap. Also use HashMap::ensure for better efficiency. * Source/WebCore/css/parser/SizesCalcParser.h: Updated includes. * Source/WebCore/css/process-css-properties.py: Use StyleColor::currentColor, and also updated includes. * Source/WebCore/css/query/ContainerQueryFeatures.cpp: Updated includes. * Source/WebCore/css/query/GenericMediaQueryParser.h: Ditto. * Source/WebCore/css/typedom/CSSUnparsedValue.cpp: Ditto. * Source/WebCore/css/typedom/ComputedStylePropertyMapReadOnly.cpp: Ditto. * Source/WebCore/display/DisplayTreeBuilder.cpp: Ditto. * Source/WebCore/display/css/DisplayBoxDecorationData.cpp: Ditto. * Source/WebCore/display/css/DisplayBoxFactory.cpp: Ditto. * Source/WebCore/display/css/DisplayFillLayerImageGeometry.cpp: Ditto. * Source/WebCore/display/css/DisplayStyle.cpp: Ditto. * Source/WebCore/dom/Document.cpp: Ditto. * Source/WebCore/dom/Element.cpp: Ditto. * Source/WebCore/dom/Element.h: Ditto. * Source/WebCore/dom/ElementInlines.h: Ditto. * Source/WebCore/dom/FragmentDirectiveRangeFinder.cpp: Ditto. * Source/WebCore/dom/ImageOverlay.cpp: Ditto. * Source/WebCore/dom/Position.cpp: Ditto. * Source/WebCore/editing/ApplyBlockElementCommand.cpp: Ditto. * Source/WebCore/editing/DeleteSelectionCommand.cpp: Ditto. * Source/WebCore/editing/Editing.cpp: Ditto. * Source/WebCore/editing/EditingStyle.cpp: Updated includes. (WebCore::EditingStyle::removeTextFillAndStrokeColorsIfNeeded): Use StyleColor::isCurrentColor. * Source/WebCore/editing/HTMLInterchange.cpp: Updated includes. * Source/WebCore/editing/InsertLineBreakCommand.cpp: Ditto. * Source/WebCore/editing/ReplaceSelectionCommand.cpp: Ditto. * Source/WebCore/editing/TextIterator.cpp: Ditto. * Source/WebCore/editing/VisibleUnits.cpp: Ditto. * Source/WebCore/html/HTMLCanvasElement.cpp: Ditto. * Source/WebCore/html/HTMLElement.cpp: Ditto. * Source/WebCore/html/HTMLImageElement.cpp: Ditto. * Source/WebCore/html/HTMLInputElement.cpp: Ditto. * Source/WebCore/html/HTMLMarqueeElement.cpp: Ditto. * Source/WebCore/html/HTMLMediaElement.cpp: Ditto. * Source/WebCore/html/HTMLMetaElement.cpp: Ditto. * Source/WebCore/html/HTMLTextFormControlElement.cpp: Ditto. * Source/WebCore/html/HTMLTitleElement.cpp: Ditto. * Source/WebCore/html/ImageInputType.cpp: Ditto. * Source/WebCore/html/NumberInputType.cpp: Ditto. * Source/WebCore/html/ValidationMessage.cpp: Ditto. * Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp: Ditto. * Source/WebCore/html/canvas/CanvasRenderingContext2DBase.cpp: Ditto. * Source/WebCore/html/shadow/DateTimeFieldElement.cpp: Ditto. * Source/WebCore/html/shadow/DateTimeNumericFieldElement.cpp: Ditto. * Source/WebCore/html/shadow/SliderThumbElement.cpp: Ditto. * Source/WebCore/html/shadow/TextControlInnerElements.cpp: Ditto. * Source/WebCore/inspector/InspectorOverlay.cpp: Updated includes. (WebCore::gridLineNames): Updated for change to NamedGridAreaMap. (WebCore::InspectorOverlay::buildGridOverlay): Ditto. * Source/WebCore/layout/LayoutState.h: Updated includes. * Source/WebCore/layout/Verification.cpp: Ditto. * Source/WebCore/layout/floats/FloatingContext.cpp: Ditto. * Source/WebCore/layout/formattingContexts/FormattingContext.cpp: Ditto. * Source/WebCore/layout/formattingContexts/FormattingGeometry.cpp: Ditto. * Source/WebCore/layout/formattingContexts/block/BlockFormattingQuirks.cpp: (WebCore::Layout::hasQuirkMarginToCollapse): Use hasQuirk instead of helpers that call it for us. * Source/WebCore/layout/formattingContexts/block/BlockMarginCollapse.cpp: (WebCore::Layout::BlockMarginCollapse::positiveNegativeMarginBefore const): Ditto. (WebCore::Layout::BlockMarginCollapse::positiveNegativeMarginAfter const): Ditto. * Source/WebCore/layout/formattingContexts/block/PrecomputedBlockMarginCollapse.cpp: (WebCore::Layout::BlockMarginCollapse::precomputedPositiveNegativeMarginBefore const): Ditto. * Source/WebCore/layout/formattingContexts/flex/FlexFormattingContext.cpp: Updated includes. * Source/WebCore/layout/formattingContexts/flex/FlexFormattingGeometry.cpp: Ditto. * Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp: Ditto. * Source/WebCore/layout/formattingContexts/inline/InlineContentBreaker.h: Ditto. * Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp: Ditto. * Source/WebCore/layout/formattingContexts/inline/InlineFormattingGeometry.cpp: Ditto. * Source/WebCore/layout/formattingContexts/inline/InlineFormattingQuirks.cpp: Ditto. * Source/WebCore/layout/formattingContexts/inline/InlineItemsBuilder.cpp: Ditto. * Source/WebCore/layout/formattingContexts/inline/InlineLevelBox.h: Updated includes and moved some inline functions into a separate header. * Source/WebCore/layout/formattingContexts/inline/InlineLevelBoxInlines.h: Added. * Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp: (WebCore::Layout::Line::Run::hasTextCombine const): Moved this virtual function here, no need for it to be inlined. * Source/WebCore/layout/formattingContexts/inline/InlineLine.h: Ditto. * Source/WebCore/layout/formattingContexts/inline/InlineLineBox.h: (WebCore::Layout::LineBox::isHorizontal const): Deleted. * Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp: Updated includes. * Source/WebCore/layout/formattingContexts/inline/InlineLineBoxVerticalAligner.cpp: Ditto. * Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp: Ditto. * Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayBox.h: Moved some inline function into a separate header. * Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayBoxInlines.h: Added. * Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp: Updated includes. * Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayLineBuilder.cpp: (WebCore::Layout::InlineDisplayLineBuilder::build const): Refactored to not use LineBox::isHorizontal. * Source/WebCore/layout/formattingContexts/inline/text/TextUtil.cpp: Updated includes. * Source/WebCore/layout/formattingContexts/table/TableFormattingGeometry.cpp: (WebCore::Layout::TableFormattingGeometry::cellBoxContentHeight const): Use hasQuirk instead of helpers that call it for us. * Source/WebCore/layout/formattingContexts/table/TableFormattingQuirks.cpp: (WebCore::Layout::TableFormattingQuirks::shouldIgnoreChildContentVerticalMargin): Ditto. * Source/WebCore/layout/integration/LayoutIntegrationBoxTree.cpp: Updated includes. * Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp: Ditto. * Source/WebCore/layout/integration/flex/LayoutIntegrationFlexLayout.cpp: Ditto. * Source/WebCore/layout/integration/inline/InlineIteratorBox.h: Updated includes and moved some inline functions into a separate header. * Source/WebCore/layout/integration/inline/InlineIteratorBoxInlines.h: Added. * Source/WebCore/layout/integration/inline/InlineIteratorBoxModernPath.h: Updated includes and moved some inline functions into a separate header. * Source/WebCore/layout/integration/inline/InlineIteratorBoxModernPathInlines.h: Added. * Source/WebCore/layout/integration/inline/InlineIteratorLineBox.cpp: Updated includes. * Source/WebCore/layout/integration/inline/InlineIteratorLineBox.h: Moved some inline functions into a separate header. * Source/WebCore/layout/integration/inline/InlineIteratorLineBoxInlines.h: Added. * Source/WebCore/layout/integration/inline/InlineIteratorTextBox.cpp: Updated includes. * Source/WebCore/layout/integration/inline/InlineIteratorTextBox.h: Moved some inline functions into a separate header. * Source/WebCore/layout/integration/inline/InlineIteratorTextBoxInlines.h: Added * Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentBuilder.cpp: Updated includes. * Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp: Ditto. * Source/WebCore/layout/layouttree/LayoutBox.h: Updated includes and moved some inline functions into a separate header. * Source/WebCore/layout/layouttree/LayoutBoxInlines.h: Added. * Source/WebCore/layout/layouttree/LayoutElementBox.h: Added a missing forward declaration. * Source/WebCore/layout/layouttree/LayoutTreeBuilder.cpp: Updated includes. * Source/WebCore/loader/SubframeLoader.cpp: Ditto. * Source/WebCore/mathml/MathMLPresentationElement.cpp: Ditto. * Source/WebCore/page/DOMSelection.cpp: Ditto. * Source/WebCore/page/InteractionRegion.cpp: Ditto. * Source/WebCore/page/LocalFrameView.cpp: Ditto. * Source/WebCore/page/ModalContainerObserver.cpp: Ditto. * Source/WebCore/page/ResizeObservation.cpp: Ditto. * Source/WebCore/page/SpatialNavigation.cpp: Ditto. * Source/WebCore/page/ios/ContentChangeObserver.cpp: Ditto. * Source/WebCore/page/scrolling/ScrollSnapOffsetsInfo.cpp: Ditto. * Source/WebCore/platform/ScrollTypes.h: Ditto. * Source/WebCore/platform/animation/AcceleratedEffectValues.cpp: Ditto. * Source/WebCore/platform/animation/AcceleratedEffectValues.h: Ditto. * Source/WebCore/platform/graphics/FloatSize.h: Use constexpr. * Source/WebCore/platform/graphics/ImageOrientation.h: Ditto. * Source/WebCore/platform/graphics/RoundedRect.cpp: Updated includes. * Source/WebCore/platform/graphics/RoundedRect.h: Updated includes and changed RoundedRect::Radii to RoundedRectRadii so it can be forward declared. * Source/WebCore/platform/graphics/TabSize.h: Use constexpr. * Source/WebCore/platform/graphics/filters/FilterOperations.h: Updated includes. * Source/WebCore/platform/graphics/transforms/TransformOperations.cpp: Removed overload of TransformOperations that takes a boolean. It was not used. * Source/WebCore/platform/graphics/transforms/TransformOperations.h: Ditto. * Source/WebCore/platform/text/TextFlags.h: Fixed base type of two-value enums to be bool instead of uint8_t. * Source/WebCore/rendering/AutoTableLayout.cpp: Updated includes. * Source/WebCore/rendering/BackgroundPainter.cpp: Ditto. * Source/WebCore/rendering/BackgroundPainter.h: Ditto. * Source/WebCore/rendering/BorderPainter.cpp: Ditto. Also moved the definition of BorderPainer::Sides in here from the header. * Source/WebCore/rendering/BorderPainter.h: Ditto. * Source/WebCore/rendering/FixedTableLayout.cpp: Ditto. * Source/WebCore/rendering/FlexibleBoxAlgorithm.cpp: Ditto. * Source/WebCore/rendering/GridBaselineAlignment.cpp: Ditto. * Source/WebCore/rendering/GridMasonryLayout.cpp: Ditto. * Source/WebCore/rendering/GridTrackSizingAlgorithm.cpp: Ditto. * Source/WebCore/rendering/HitTestLocation.h: Ditto. * Source/WebCore/rendering/InlineBoxPainter.cpp: Ditto. * Source/WebCore/rendering/LegacyEllipsisBox.cpp: Ditto. * Source/WebCore/rendering/LegacyInlineFlowBox.cpp: Ditto. * Source/WebCore/rendering/LegacyInlineFlowBox.h: Updated includes and moved some inline functions into a separate header. * Source/WebCore/rendering/LegacyInlineFlowBoxInlines.h: Added. * Source/WebCore/rendering/LegacyInlineIterator.h: Updated includes and moved some inline functions into a separate header. * Source/WebCore/rendering/LegacyInlineIteratorInlines.h: Added. * Source/WebCore/rendering/LegacyLineLayout.cpp: Updated includes. * Source/WebCore/rendering/LegacyRootInlineBox.cpp: Ditto. * Source/WebCore/rendering/LogicalSelectionOffsetCaches.h: Ditto. * Source/WebCore/rendering/RenderAttachment.cpp: Ditto. * Source/WebCore/rendering/RenderBlock.cpp: (WebCore::RenderBlock::hasMarginBeforeQuirk const): Use hasQuirk instead of helpers that call it for us. (WebCore::RenderBlock::hasMarginAfterQuirk const): Ditto. * Source/WebCore/rendering/RenderBlock.h: Moved some inline functions into a separate header. * Source/WebCore/rendering/RenderBlockFlow.cpp: (WebCore::RenderBlockFlow::layoutBlock): Use hasQuirk instead of helpers that call it for us. (WebCore::RenderBlockFlow::marginBeforeEstimateForChild const): Ditto. * Source/WebCore/rendering/RenderBlockFlow.h: Moved some inline functions into a separate header. * Source/WebCore/rendering/RenderBlockFlowInlines.h: Added. * Source/WebCore/rendering/RenderBlockInlines.h: Added. * Source/WebCore/rendering/RenderBox.cpp: Updated includes. (WebCore::RenderBox::requiresLayer const): Moved the body of this virtual function here instead of the header; inlining it is unlikely to be valuable. * Source/WebCore/rendering/RenderBox.h: Moved some inline functions into a separate header. * Source/WebCore/rendering/RenderBoxInlines.h: Added. * Source/WebCore/rendering/RenderBoxModelObject.cpp: Updated includes. (WebCore::RenderBoxModelObject::requiresLayer const): Moved the body of this virtual function here instead of the header; inlining it is unlikely to be valuable. * Source/WebCore/rendering/RenderBoxModelObject.h: Moved some inline functions into a separate header. * Source/WebCore/rendering/RenderBoxModelObjectInlines.h: Added. * Source/WebCore/rendering/RenderButton.cpp: Updated includes. * Source/WebCore/rendering/RenderCounter.cpp: Updated includes. (WebCore::planCounter): Simplified since we no longer store a pointer to a map. (WebCore::findPlaceForCounter): Ditto. (WebCore::RenderCounter::originalText const): Ditto. (WebCore::RenderCounter::rendererStyleChangedSlowCase): Ditto. * Source/WebCore/rendering/RenderCounter.h: Moved RenderCounter::rendererStyleChanged into RenderElement so it can be inlined since it's only called there. Probably better than making a RenderCounterInlines.h just for htis one function. * Source/WebCore/rendering/RenderDeprecatedFlexibleBox.cpp: Updated headers. * Source/WebCore/rendering/RenderElement.cpp: Updated headers. (WebCore::RenderCounter::rendererStyleChanged): Added. * Source/WebCore/rendering/RenderElement.h: Moved some inline functions into a separate header. * Source/WebCore/rendering/RenderElementInlines.h: Added. * Source/WebCore/rendering/RenderEmbeddedObject.cpp: Updated includes. * Source/WebCore/rendering/RenderFileUploadControl.cpp: Ditto. * Source/WebCore/rendering/RenderFlexibleBox.cpp: Ditto. * Source/WebCore/rendering/RenderGrid.cpp: Updated includes. (WebCore::RenderGrid::namedGridLinesDefinitionDidChange const): Updated for changes to the NamedGridAreaMap. (WebCore::RenderGrid::implicitGridLinesDefinitionDidChange const): Ditto. (WebCore::RenderGrid::allowedToStretchChildAlongColumnAxis const): Ditto. (WebCore::RenderGrid::allowedToStretchChildAlongRowAxis const): Ditto. * Source/WebCore/rendering/RenderGrid.h: Moved some private inline functions into the .cpp file. * Source/WebCore/rendering/RenderImage.cpp: Updated includes. * Source/WebCore/rendering/RenderInline.cpp: Updated includes. (WebCore::RenderInline::willChangeCreatesStackingContext const): Moved private inline function here from the header. (WebCore::RenderInline::requiresLayer const): Moved this virtual function here, it does not need to be inlined. * Source/WebCore/rendering/RenderInline.h: Updated includes and moved two inline functions out of the header. * Source/WebCore/rendering/RenderLayer.cpp: Updated includes. (WebCore::RenderLayer::updateTransform): Updated since RenderStyle::allTransformOperations is now a constexpr function. (WebCore::RenderLayer::currentTransform const): Added overload so we don't have to compile a default argument value in the header, which would require adding includes. * Source/WebCore/rendering/RenderLayer.h: Moved some inline functions into a separate header. Also added an overload of currentTransform instead of a default argument. * Source/WebCore/rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::updateTransform): Updated since RenderStyle::individualTransformOperations is now a constexpr function. (WebCore::RenderLayerBacking::getCurrentTransform const): Ditto. * Source/WebCore/rendering/RenderLayerCompositor.cpp: Updated includes. * Source/WebCore/rendering/RenderLayerInlines.h: Added. * Source/WebCore/rendering/RenderLayerModelObject.h: Added an overload of applyTransform instead of a default argument. * Source/WebCore/rendering/RenderLayerScrollableArea.cpp: Updated includes. * Source/WebCore/rendering/RenderLineBreak.cpp: Ditto. * Source/WebCore/rendering/RenderListBox.cpp: Updated includes. (WebCore::RenderListBox::isVisibleToHitTesting const): Moved this virtual function here, it does not need to be inlined. * Source/WebCore/rendering/RenderListBox.h: Ditto. * Source/WebCore/rendering/RenderListItem.cpp: Updated includes. (WebCore::RenderListItem::computeMarkerStyle const): Pass an empty OptionSet to setTextTransform instead of a single value of none. * Source/WebCore/rendering/RenderListMarker.cpp: Updated includes. (WebCore::listMarkerText): Take a const ListStyleType&, which can be forward declared, rather than a ListStyleType::Type, which cannot. (WebCore::RenderListMarker::updateContent): Updated for above. * Source/WebCore/rendering/RenderListMarker.h: Ditto. * Source/WebCore/rendering/RenderMenuList.cpp: Updated includes. * Source/WebCore/rendering/RenderMultiColumnSet.cpp: Ditto. * Source/WebCore/rendering/RenderObject.cpp: Ditto. * Source/WebCore/rendering/RenderObject.h: Moved some inline functions into a separate header. * Source/WebCore/rendering/RenderObjectInlines.h: Added. * Source/WebCore/rendering/RenderReplaced.cpp: (WebCore::RenderReplaced::intrinsicSize const): Moved this virtual function here, it does not need to be inlined. * Source/WebCore/rendering/RenderReplaced.h: Ditto. * Source/WebCore/rendering/RenderRubyText.cpp: (WebCore::RenderRubyText::overrideTextAlignmentForLine const): Check against TextAlignMode::Start instead of RenderStyle::initialTextAlign, since there's no real need to abstract this, and it avoids the need to include RenderStyleInlines.h. (WebCore::RenderRubyText::adjustInlineDirectionLineBounds const): Ditto. * Source/WebCore/rendering/RenderScrollbar.cpp: Updated includes. * Source/WebCore/rendering/RenderSearchField.cpp: Ditto. * Source/WebCore/rendering/RenderSlider.cpp: Ditto. * Source/WebCore/rendering/RenderTable.cpp: Updated includes. (WebCore::RenderTable::splitColumn): Updated for change to ColumnStruct. (WebCore::RenderTable::appendColumn): Ditto. * Source/WebCore/rendering/RenderTable.h: Moved some inline functions into a separate header. Also simplified ColumnStruct. * Source/WebCore/rendering/RenderTableCaption.cpp: (WebCore::RenderTableCaption::containingBlockLogicalWidthForContent const): Moved this virtual function here, it does not need to be inlined. * Source/WebCore/rendering/RenderTableCaption.h: DItto. * Source/WebCore/rendering/RenderTableCell.cpp: Updated includes. * Source/WebCore/rendering/RenderTableCell.h: Moved some inline functions into a separate header. * Source/WebCore/rendering/RenderTableCellInlines.h: Added. * Source/WebCore/rendering/RenderTableInlines.h: Added. * Source/WebCore/rendering/RenderTableRow.cpp: Updated includes. (WebCore::RenderTableRow::requiresLayer const): Moved this virtual function here, it does not need to be inlined. (WebCore::RenderTableRow::createAnonymousBoxWithSameTypeAs const): Ditto. * Source/WebCore/rendering/RenderTableRow.h: Moved some inline functions into a separate header. Made some virtual functions no longer inline. * Source/WebCore/rendering/RenderTableRowInlines.h: Added. * Source/WebCore/rendering/RenderTableSection.cpp: Updated includes. * Source/WebCore/rendering/RenderTableSection.h: Moved some inline functions into a separate header. * Source/WebCore/rendering/RenderTableSectionInlines.h: Added. * Source/WebCore/rendering/RenderText.cpp: Updated includes. (WebCore::RenderText::setRenderedText): Check if the textTransform OptionSet is empty rather than checking against TextTransform::None. (WebCore::RenderText::textWithoutConvertingBackslashToYenSymbol const): Ditto. * Source/WebCore/rendering/RenderText.h: Moved some inline functions into a separate header. * Source/WebCore/rendering/RenderTextControl.cpp: Updated includes. (WebCore::RenderTextControlInnerContainer::RenderTextControlInnerContainer): Moved this constructor here. It does not need to be inlined. * Source/WebCore/rendering/RenderTextControl.h: Ditto. * Source/WebCore/rendering/RenderTextControlMultiLine.cpp: Updated includes. * Source/WebCore/rendering/RenderTextControlSingleLine.cpp: Updated includes. (WebCore::RenderTextControlInnerBlock::RenderTextControlInnerBlock): Moved this constructor here. It does not need to be inlined. * Source/WebCore/rendering/RenderTextControlSingleLine.h: Ditto. * Source/WebCore/rendering/RenderTextInlines.h: Moved RenderText::marginLeft and RenderText::marginRight in here. * Source/WebCore/rendering/RenderTextLineBoxes.cpp: (WebCore::RenderTextLineBoxes::dirtyRange): Check if the textTransform OptionSet is empty rather than checking against TextTransform::None. * Source/WebCore/rendering/RenderTheme.cpp: Updated includes. * Source/WebCore/rendering/RenderThemeAdwaita.cpp: Ditto. * Source/WebCore/rendering/RenderThemeCocoa.mm: Ditto. * Source/WebCore/rendering/RenderThemeIOS.mm: Updated includes. (WebCore::RenderThemeIOS::adjustTextFieldStyle const): Fixed broken code doing if (!a == b) that actually meant if (a != b). The symptom was that we would overwrite a field's color with the system color. Had to fix this since the incorrect code would no longer compile, but it's really a separate bug fix. * Source/WebCore/rendering/RenderThemeMac.mm: Updated includes. * Source/WebCore/rendering/RenderTreeAsText.cpp: Ditto. * Source/WebCore/rendering/RenderVTTCue.cpp: Ditto. * Source/WebCore/rendering/RenderVideo.cpp: Ditto. * Source/WebCore/rendering/RenderView.cpp: (WebCore::RenderView::viewLogicalWidth const): Moved this inline function body here because it's only called in this file. We can put it somewhere else if we ever need to call it elsewhere. Since it's marked inline in the header we will get a compile error if that happens. * Source/WebCore/rendering/RenderView.h: Ditto. * Source/WebCore/rendering/RenderWidget.cpp: Updated includes. * Source/WebCore/rendering/TextAutoSizing.cpp: Ditto. * Source/WebCore/rendering/TextBoxPainter.cpp: Ditto. * Source/WebCore/rendering/line/BreakingContext.h: Ditto. * Source/WebCore/rendering/line/LineBreaker.h: Ditto. * Source/WebCore/rendering/line/LineInlineHeaders.h: Updated includes, and added bool as a base for WhitespacePosition so it can be forward-declared. * Source/WebCore/rendering/mathml/RenderMathMLBlock.cpp: Updated includes. * Source/WebCore/rendering/mathml/RenderMathMLBlock.h: Moved some inline functions into a separate header. * Source/WebCore/rendering/mathml/RenderMathMLBlockInlines.h: Added. * Source/WebCore/rendering/mathml/RenderMathMLFraction.cpp: Updated includes. * Source/WebCore/rendering/mathml/RenderMathMLMenclose.cpp: Ditto. * Source/WebCore/rendering/mathml/RenderMathMLPadded.cpp: Ditto. * Source/WebCore/rendering/mathml/RenderMathMLSpace.cpp: Ditto. * Source/WebCore/rendering/mathml/RenderMathMLUnderOver.cpp: Ditto. * Source/WebCore/rendering/shapes/BoxShape.cpp: Ditto. * Source/WebCore/rendering/shapes/ShapeOutsideInfo.cpp: Ditto. * Source/WebCore/rendering/style/BorderData.cpp: (WebCore::BorderData::isEquivalentForPainting const): Use StyleColor::isCurrentColor instead of RenderStyle::isCurrentColor. * Source/WebCore/rendering/style/BorderData.h: Moved BorderData::Radii to be named BorderDataRadii so it can be forward-declared. * Source/WebCore/rendering/style/BorderValue.cpp: Updated includes. * Source/WebCore/rendering/style/CounterDirectives.h: Changed CounterDirectiveMap to be a struct instead of a type name so it can be forward declared. * Source/WebCore/rendering/style/GapLength.h: Fix typo. * Source/WebCore/rendering/style/GridArea.h: Changed NamedGridAreaMap to be a struct instead of a typename so it can be forward declared. * Source/WebCore/rendering/style/GridPositionsResolver.cpp: Updated includes. (WebCore::clampedImplicitLineForArea): Updated for change to NamedGridAreaMap. (WebCore::NamedLineCollectionBase::NamedLineCollectionBase): Ditto. (WebCore::adjustGridPositionsFromStyle): Ditto. * Source/WebCore/rendering/style/LineClampValue.h: Use constexpr. * Source/WebCore/rendering/style/OffsetRotation.cpp: (WebCore::OffsetRotation::OffsetRotation): Deleted. * Source/WebCore/rendering/style/OffsetRotation.h: Made the constructor constexpr. * Source/WebCore/rendering/style/RenderStyle.cpp: Updated includes. Added the SET_VAR and SET_NESTED_VAR macros since we no longer leave those defined after including the setters header. We should probably move all the functions that use these to RenderStyleSetters.h eventually. (WebCore::RenderStyle::NonInheritedFlags::copyNonInheritedFrom): Moved this inline function here because it's only called from this file. (WebCore::RenderStyle::borderAndBackgroundEqual const): Just use == instead of backgroundColorEqualsToColorIgnoringVisited, since that is all that function did. (WebCore::RenderStyle::isIdempotentTextAutosizingCandidate const): Added overload. (WebCore::rareDataChangeRequiresLayout): Updated for change to counterDirectives and CounterDirectivesMap. (WebCore::RenderStyle::applyTransform const): Added overload. (WebCore::RenderStyle::counterDirectives const): Updated since we now store a CounterDirectivesMap instead of a pointer to one. (WebCore::RenderStyle::accessCounterDirectives): Ditto. (WebCore::RenderStyle::colorResolvingCurrentColor const): Use StyleColor::isCurrentColor. (WebCore::RenderStyle::setColumnStylesFromPaginationMode): Pass PaginationMode by value instead of const&, it's an enum. (WebCore::RenderStyle::paintTypesForPaintOrder): Return a Span instead of a Vector, much more efficient. * Source/WebCore/rendering/style/RenderStyle.h: Updated includes. Changed PseudoStyleCache to a struct. Moved many inline functions to RenderStyleInlines.h and RenderStyleSetters.h. Removed RenderStyle::currentColor, RenderStyle::isCurrentColor, RenderStyle::backgroundColorEqualsToColorIgnoringVisited, RenderStyle:hasMarginBeforeQuirk, and RenderStyle::hasMarginAfterQuirk. * Source/WebCore/rendering/style/RenderStyleConstants.cpp: (WebCore::operator<<): Removed TextTransform::None handling. * Source/WebCore/rendering/style/RenderStyleConstants.h: Moved defaultMiterLimit into the header. Added base types for many enums so they can be forward-declared. Removed TextTransform::None and most of the Bits constants. * Source/WebCore/rendering/style/RenderStyleInlines.h: Added. * Source/WebCore/rendering/style/RenderStyleSetters.h: Added. Reworked the macros to cover more cases. * Source/WebCore/rendering/style/SVGRenderStyle.h: Updated includes. Moved SVG-specific RenderStyle inline function bodies here. * Source/WebCore/rendering/style/SVGRenderStyleDefs.cpp: Updated includes. (WebCore::StyleStrokeData::StyleStrokeData): Use RenderStyle::zeroLength. (WebCore::StyleLayoutData::StyleLayoutData): Ditto. * Source/WebCore/rendering/style/StyleBackgroundData.cpp: Updated includes. (WebCore::StyleBackgroundData::isEquivalentForPainting const): Use StyleColor::isCurrentColor. * Source/WebCore/rendering/style/StyleColorScheme.h: Use constexpr. * Source/WebCore/rendering/style/StyleContentAlignmentData.h: Ditto. * Source/WebCore/rendering/style/StyleDeprecatedFlexibleBoxData.cpp: Updated includes. * Source/WebCore/rendering/style/StyleFlexibleBoxData.cpp: Ditto. * Source/WebCore/rendering/style/StyleGradientImage.cpp: Ditto. * Source/WebCore/rendering/style/StyleGridData.cpp: Updated includes. (WebCore::createGridLineNamesList): Updated for changes to NamedGridLinesMap. (WebCore::StyleGridData::computeCachedTrackData): Ditto. * Source/WebCore/rendering/style/StyleGridData.h: Use a struct for NamedGridLinesMap, OrderedNamedGridLinesMap and GridTrakcList so they can be forward declared. * Source/WebCore/rendering/style/StyleGridItemData.cpp: Updated includes. * Source/WebCore/rendering/style/StyleInheritedData.cpp: Ditto. * Source/WebCore/rendering/style/StyleMarqueeData.cpp: Updated includes. (WebCore::StyleMarqueeData::create): Moved here; it need not be inlined. * Source/WebCore/rendering/style/StyleMarqueeData.h: Updated includes. Changed StyleMarqueeData into a struct. Moved the create function to the .cpp file. * Source/WebCore/rendering/style/StyleMiscNonInheritedData.cpp: Updated includes (WebCore::StyleMiscNonInheritedData::StyleMiscNonInheritedData): Initialize hasAttrContent in the header. * Source/WebCore/rendering/style/StyleMiscNonInheritedData.h: Ditto. * Source/WebCore/rendering/style/StyleNonInheritedData.cpp: (WebCore::StyleNonInheritedData::create): Moved here; it need not be inlined. * Source/WebCore/rendering/style/StyleNonInheritedData.h: Updated includes. Moved the create function to the .cpp file. * Source/WebCore/rendering/style/StyleRareInheritedData.cpp: Updated includes. (WebCore::StyleRareInheritedData::StyleRareInheritedData): Use StyleColor::currentColor. Initialize speakAs in the header. * Source/WebCore/rendering/style/StyleRareInheritedData.h: Ditto. * Source/WebCore/rendering/style/StyleRareNonInheritedData.cpp: Updated includes. (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData): Updated for change to counterDirectives. (WebCore::StyleRareNonInheritedData::operator== const): Ditto. * Source/WebCore/rendering/style/StyleRareNonInheritedData.h: Updated forward declarations. Also changed counterDirectives to be a CounterDirectiveMap instead of a std::unique_ptr<CounterDirectiveMap> because an empty HashMap is already just a single pointer; saves a memory block and makes the code simpler and a tiny bit faster. * Source/WebCore/rendering/style/StyleSelfAlignmentData.h: Use constexpr. * Source/WebCore/rendering/style/TextDecorationThickness.h: Ditto. * Source/WebCore/rendering/style/TextSizeAdjustment.cpp: (WebCore::AutosizeStatus::AutosizeStatus): Moved to the header. (WebCore::AutosizeStatus::contains const): Ditto. * Source/WebCore/rendering/style/TextSizeAdjustment.h: Use constexpr. * Source/WebCore/rendering/style/TextUnderlineOffset.h: Use constexpr. * Source/WebCore/rendering/svg/LegacyRenderSVGEllipse.cpp: Updated includes. * Source/WebCore/rendering/svg/LegacyRenderSVGForeignObject.cpp: Ditto. * Source/WebCore/rendering/svg/LegacyRenderSVGRoot.cpp: Ditto. * Source/WebCore/rendering/svg/LegacyRenderSVGShape.cpp: Updated includes. (WebCore::LegacyRenderSVGShape::fillStrokeMarkers): Simplified paintOrder code. (WebCore::LegacyRenderSVGShape::hasSmoothStroke const): Removed strangely-written calls to RenderStyle::initial functions; we can just check against those initial values. * Source/WebCore/rendering/svg/LegacyRenderSVGShape.h: Moved inline function to a separate header. * Source/WebCore/rendering/svg/LegacyRenderSVGShapeInlines.h: Added. * Source/WebCore/rendering/svg/RenderSVGBlock.cpp: Updated includes. * Source/WebCore/rendering/svg/RenderSVGForeignObject.h: Removed default value from applyTransform virtual function declaration. * Source/WebCore/rendering/svg/RenderSVGHiddenContainer.h: Ditto. * Source/WebCore/rendering/svg/RenderSVGImage.cpp: Updated includes. * Source/WebCore/rendering/svg/RenderSVGImage.h: Removed default value from applyTransform virtual function declaration. * Source/WebCore/rendering/svg/RenderSVGInline.cpp: Updated includes. * Source/WebCore/rendering/svg/RenderSVGModelObject.cpp: Ditto. * Source/WebCore/rendering/svg/RenderSVGPath.cpp: Ditto. * Source/WebCore/rendering/svg/RenderSVGResourceClipper.cpp: Ditto. * Source/WebCore/rendering/svg/RenderSVGResourceMasker.cpp: Ditto. * Source/WebCore/rendering/svg/RenderSVGResourcePattern.cpp: Ditto. * Source/WebCore/rendering/svg/RenderSVGRoot.cpp: Ditto. * Source/WebCore/rendering/svg/RenderSVGShape.cpp: Updated includes. (WebCore::RenderSVGShape::fillStrokeMarkers): Simplified paintOrder code. (WebCore::RenderSVGShape::hasSmoothStroke const): Removed strangely-written calls to RenderStyle::initial functions; we can just check against those initial values. * Source/WebCore/rendering/svg/RenderSVGShape.h: Removed default value from applyTransform virtual function declaration. Moved inline function to a separate header. * Source/WebCore/rendering/svg/RenderSVGShapeInlines.h: Added. * Source/WebCore/rendering/svg/RenderSVGTSpan.h: Updated includes. * Source/WebCore/rendering/svg/RenderSVGText.cpp: Ditto. * Source/WebCore/rendering/svg/RenderSVGText.h: Removed default value from applyTransform virtual function declaration. * Source/WebCore/rendering/svg/RenderSVGTextPath.cpp: Updated includes. (WebCore::RenderSVGTextPath::layoutPath const): Updated since RenderStyle::individualTransformOperations is now a constexpr function. * Source/WebCore/rendering/svg/RenderSVGTransformableContainer.h: Removed default value from applyTransform virtual function declaration. * Source/WebCore/rendering/svg/RenderSVGViewportContainer.h: Ditto. * Source/WebCore/rendering/svg/SVGBoundingBoxComputation.cpp: Updated includes. * Source/WebCore/rendering/svg/SVGInlineTextBox.cpp: Updated includes. (WebCore::SVGInlineTextBox::paint): Simplified paintOrder code. * Source/WebCore/rendering/svg/SVGLayerTransformUpdater.h: Updated includes. * Source/WebCore/rendering/svg/SVGPathData.cpp: Ditto. * Source/WebCore/rendering/svg/SVGRenderSupport.cpp: Ditto. * Source/WebCore/rendering/svg/SVGRenderTreeAsText.cpp: Ditto. * Source/WebCore/rendering/svg/SVGTextChunk.cpp: Ditto. * Source/WebCore/rendering/svg/SVGTextMetrics.cpp: Ditto. * Source/WebCore/rendering/updating/RenderTreeBuilderFirstLetter.cpp: Ditto. * Source/WebCore/rendering/updating/RenderTreeBuilderSVG.cpp: Ditto. * Source/WebCore/rendering/updating/RenderTreeUpdaterGeneratedContent.cpp: Ditto. * Source/WebCore/style/CustomPropertyRegistry.cpp: Ditto. * Source/WebCore/style/InlineTextBoxStyle.cpp: Ditto. * Source/WebCore/style/MatchedDeclarationsCache.cpp: Ditto. * Source/WebCore/style/ResolvedStyle.h: Added. Moves this struct of StyleResolver.h, cutting down significantly on what is included by that header. * Source/WebCore/style/StyleAdjuster.cpp: Updated includes. (WebCore::Style::Adjuster::adjust const): Simplified code here by taking advantage of the unconditional presence of hasBackdropFilter, which simply returns false when ENABLE(FILTERS_LEVEL_2) is false. * Source/WebCore/style/StyleBuilder.cpp: Updated includes. * Source/WebCore/style/StyleBuilderConverter.h: Updated includes. (WebCore::Style::BuilderConverter::createGridTrackList): Updated for changes to GridTrackList. (WebCore::Style::BuilderConverter::createImplicitNamedGridLinesFromGridArea): Updated for changes to NameGridAreaMap. * Source/WebCore/style/StyleBuilderCustom.h: Updated includes. (WebCore::Style::BuilderCustom::applyInheritCounter): Updated for changes to counterDirectives. (WebCore::Style::BuilderCustom::applyValueCounter): Ditto. * Source/WebCore/style/StyleBuilderState.cpp: Updated includes. * Source/WebCore/style/StyleBuilderState.h: Updated includes and moved some inline functions into another header. * Source/WebCore/style/StyleBuilderStateInlines.h: Added. * Source/WebCore/style/StylePendingResources.cpp: Updated includes. * Source/WebCore/style/StyleResolveForDocument.cpp: Ditto. * Source/WebCore/style/StyleResolver.cpp: Ditto. * Source/WebCore/style/StyleResolver.h: Ditto. * Source/WebCore/style/StyleScope.cpp: Ditto. * Source/WebCore/style/StyleTreeResolver.cpp: Ditto. * Source/WebCore/style/Styleable.cpp: Ditto. * Source/WebCore/svg/SVGElement.cpp: Updated includes. (WebCore::SVGElementRareData::overrideComputedStyle): Moved this inline function in here since this is the only place it is needed. * Source/WebCore/svg/SVGElementRareData.h: Ditto. * Source/WebCore/svg/SVGFEDiffuseLightingElement.cpp: Updated includes. * Source/WebCore/svg/SVGFESpecularLightingElement.cpp: Ditto. * Source/WebCore/svg/SVGGraphicsElement.cpp: Ditto. * Source/WebCore/svg/SVGLength.h: Ditto. * Source/WebCore/svg/SVGSVGElement.cpp: Ditto. * Source/WebCore/svg/SVGStopElement.cpp: Ditto. * Source/WebCore/svg/properties/SVGAnimationAdditiveValueFunctionImpl.cpp: (WebCore::SVGAnimationColorFunction::calculateDistance const): Removed unneeded checks for current color, a Color can never be one, only a StyleColor. This became much obvious when converting code from RenderStyle::isCurrentColor to StyleColor::isCurrentColor. * Source/WebCore/testing/Internals.cpp: Updated includes. * Source/WebKit/Shared/TextFlags.serialization.in: Updated two enums that are now based on bool rather thna uint8_t. * Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePage.cpp: Updated includes. * Source/WebKit/WebProcess/Plugins/PluginView.cpp: Ditto. * Source/WebKit/WebProcess/WebCoreSupport/ShareableBitmapUtilities.cpp: Ditto. * Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm: Ditto. * Source/WebKitLegacy/mac/DOM/DOM.mm: Ditto. * Source/WebKitLegacy/mac/DOM/DOMUIKitExtensions.mm: Ditto. * Source/WebKitLegacy/mac/DOM/WebDOMOperations.mm: Ditto. * Source/WebKitLegacy/mac/WebCoreSupport/WebContextMenuClient.mm: Ditto. * Source/WebKitLegacy/mac/WebView/WebFrame.mm: Ditto. * Source/WebKitLegacy/mac/WebView/WebView.mm: Ditto. Canonical link: https://commits.webkit.org/263719@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes