Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9d752ee1ae6568475b23eb60d75f6d3591e3b23b
      
https://github.com/WebKit/WebKit/commit/9d752ee1ae6568475b23eb60d75f6d3591e3b23b
  Author: Sam Weinig <[email protected]>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M Source/WTF/wtf/text/WTFString.h
    M Source/WebCore/Headers.cmake
    M Source/WebCore/SaferCPPExpectations/UncheckedCallArgsCheckerExpectations
    M Source/WebCore/Sources.txt
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebCore/css/CSSProperties.json
    M Source/WebCore/dom/PseudoElement.cpp
    M Source/WebCore/html/HTMLBRElement.cpp
    M Source/WebCore/rendering/RenderCounter.cpp
    M Source/WebCore/rendering/RenderCounter.h
    M Source/WebCore/rendering/RenderElement.cpp
    M Source/WebCore/rendering/RenderElement.h
    R Source/WebCore/rendering/style/ContentData.cpp
    R Source/WebCore/rendering/style/ContentData.h
    R Source/WebCore/rendering/style/CounterContent.h
    M Source/WebCore/rendering/style/RenderStyle.cpp
    M Source/WebCore/rendering/style/RenderStyle.h
    M Source/WebCore/rendering/style/RenderStyleInlines.h
    M Source/WebCore/rendering/style/RenderStyleSetters.h
    M Source/WebCore/rendering/style/StyleMiscNonInheritedData.cpp
    M Source/WebCore/rendering/style/StyleMiscNonInheritedData.h
    M Source/WebCore/rendering/style/StyleRareNonInheritedData.h
    M Source/WebCore/rendering/updating/RenderTreeUpdaterGeneratedContent.cpp
    M Source/WebCore/style/StyleBuilderCustom.h
    M Source/WebCore/style/StyleChange.cpp
    M Source/WebCore/style/StyleExtractorConverter.h
    M Source/WebCore/style/StyleExtractorCustom.h
    M Source/WebCore/style/StyleInterpolationFunctions.h
    M Source/WebCore/style/StyleInterpolationWrappers.h
    M Source/WebCore/style/StylePendingResources.cpp
    A Source/WebCore/style/values/content/StyleContent.cpp
    A Source/WebCore/style/values/content/StyleContent.h

  Log Message:
  -----------
  [Style] Convert content property to use strong style types
https://bugs.webkit.org/show_bug.cgi?id=296232

Reviewed by Darin Adler.

Converts `content` property to use a strong style type.

`contents` gets quite the makeover, going from scattered bits
and a internal linked-list structure of virtual types to a
bundled variant wrapping a FixedVector of variants.

Additionally, the creation of the content renderers was moved
to be in the same place as its one caller, RenderTreeUpdaterGeneratedContent.cpp

* Source/WTF/wtf/text/WTFString.h:
* Source/WebCore/Headers.cmake:
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/dom/PseudoElement.cpp:
* Source/WebCore/html/HTMLBRElement.cpp:
* Source/WebCore/rendering/RenderCounter.cpp:
* Source/WebCore/rendering/RenderCounter.h:
* Source/WebCore/rendering/RenderElement.cpp:
* Source/WebCore/rendering/RenderElement.h:
* Source/WebCore/rendering/style/ContentData.cpp: Removed.
* Source/WebCore/rendering/style/ContentData.h: Removed.
* Source/WebCore/rendering/style/CounterContent.h: Removed.
* Source/WebCore/rendering/style/RenderStyle.cpp:
* Source/WebCore/rendering/style/RenderStyle.h:
* Source/WebCore/rendering/style/RenderStyleInlines.h:
* Source/WebCore/rendering/style/RenderStyleSetters.h:
* Source/WebCore/rendering/style/StyleMiscNonInheritedData.cpp:
* Source/WebCore/rendering/style/StyleMiscNonInheritedData.h:
* Source/WebCore/rendering/style/StyleRareNonInheritedData.h:
* Source/WebCore/rendering/updating/RenderTreeUpdaterGeneratedContent.cpp:
* Source/WebCore/style/StyleBuilderCustom.h:
* Source/WebCore/style/StyleChange.cpp:
* Source/WebCore/style/StyleExtractorConverter.h:
* Source/WebCore/style/StyleExtractorCustom.h:
* Source/WebCore/style/StyleInterpolationFunctions.h:
* Source/WebCore/style/StyleInterpolationWrappers.h:
* Source/WebCore/style/StylePendingResources.cpp:
* Source/WebCore/style/values/content/StyleContent.cpp: Added.
* Source/WebCore/style/values/content/StyleContent.h: Added.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to