Skip to content

[pull] main from WebKit:main#1805

Merged
pull[bot] merged 3 commits intoMu-L:mainfrom
WebKit:main
Jul 27, 2025
Merged

[pull] main from WebKit:main#1805
pull[bot] merged 3 commits intoMu-L:mainfrom
WebKit:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Jul 27, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.3)

Can you help keep this open source service alive? 💖 Please sponsor : )

weinig and others added 3 commits July 27, 2025 07:52
https://bugs.webkit.org/show_bug.cgi?id=296521

Reviewed by Darin Adler.

Converts the `stroke-width` and `-webkit-text-stroke-width` properties to
strong style types.

To make this interpolation work, deduction guides were needed for `StyleTypeWrapper`
to allow different types of RenderStyle getter/setter variations. This has the nice
side-effect of removing the need for a bunch of explicit types in declarations.

* Source/WebCore/CMakeLists.txt:
* Source/WebCore/Headers.cmake:
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/css/values/primitives/CSSPrimitiveNumericUnits.h:
* Source/WebCore/rendering/RenderTreeAsText.cpp:
* 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/SVGRenderStyle.h:
* Source/WebCore/rendering/style/StyleRareInheritedData.cpp:
* Source/WebCore/rendering/style/StyleRareInheritedData.h:
* Source/WebCore/style/StyleBuilderConverter.h:
* Source/WebCore/style/StyleBuilderCustom.h:
* Source/WebCore/style/StyleExtractorConverter.h:
* Source/WebCore/style/StyleExtractorSerializer.h:
* Source/WebCore/style/StyleInterpolationWrappers.h:
* Source/WebCore/style/values/fill-stroke/StyleStrokeWidth.cpp: Added.
* Source/WebCore/style/values/fill-stroke/StyleStrokeWidth.h: Added.
* Source/WebCore/style/values/non-standard/StyleWebKitTextStrokeWidth.cpp: Added.
* Source/WebCore/style/values/non-standard/StyleWebKitTextStrokeWidth.h: Added.
* Source/WebCore/style/values/primitives/StylePrimitiveNumeric.h:
* Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+CSSValueConversion.h:
* Source/WebCore/style/values/primitives/StylePrimitiveNumericTypes+Evaluation.h:
* Source/WebCore/svg/SVGLengthContext.cpp:
* Source/WebCore/svg/SVGLengthContext.h:

Canonical link: https://commits.webkit.org/297906@main
https://bugs.webkit.org/show_bug.cgi?id=296522

Reviewed by Darin Adler.

Converts the properties `outline-width` and `outline-offset` to use
strong style types.

* Source/WebCore/CMakeLists.txt:
* Source/WebCore/Headers.cmake:
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/accessibility/AccessibilityRenderObject.cpp:
* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/rendering/BorderEdge.cpp:
* Source/WebCore/rendering/BorderPainter.cpp:
* Source/WebCore/rendering/RenderElement.cpp:
* Source/WebCore/rendering/RenderImage.cpp:
* Source/WebCore/rendering/style/OutlineValue.cpp:
* Source/WebCore/rendering/style/OutlineValue.h:
* 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/svg/SVGRenderSupport.cpp:
* Source/WebCore/style/values/backgrounds/StyleLineWidth.cpp: Added.
* Source/WebCore/style/values/backgrounds/StyleLineWidth.h: Added.

Canonical link: https://commits.webkit.org/297907@main
https://bugs.webkit.org/show_bug.cgi?id=296529
rdar://156821446

Reviewed by Sam Weinig.

Use the enum values provided by CoreVideo to describe IOSurface formats.

Declare some types that will be used in a future PR, using their SPI names since
the headers aren't yet stable.

* Source/WTF/wtf/PlatformHave.h:
* Source/WebCore/PAL/pal/spi/cf/CoreVideoSPI.h:
* Source/WebCore/platform/graphics/cocoa/IOSurface.mm:
(WebCore::createSurface):
(WebCore::formatFromSurface):

Canonical link: https://commits.webkit.org/297908@main
@pull pull bot locked and limited conversation to collaborators Jul 27, 2025
@pull pull bot added the ⤵️ pull label Jul 27, 2025
@pull pull bot merged commit f902d16 into Mu-L:main Jul 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants