Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 67bf270f1e628e97bafb21185ecb04f114d84b39 https://github.com/WebKit/WebKit/commit/67bf270f1e628e97bafb21185ecb04f114d84b39 Author: Alan Bujtas <za...@apple.com> Date: 2022-10-05 (Wed, 05 Oct 2022)
Changed paths: M Source/WebCore/rendering/style/RenderStyle.cpp M Source/WebCore/rendering/style/RenderStyle.h Log Message: ----------- [Outline] Introduce static RoundedRect RenderStyle::getRoundedInnerBorderFor https://bugs.webkit.org/show_bug.cgi?id=246058 Reviewed by Antti Koivisto. This is in preparation for supporting outline with border-radius. (Currently BorderPainter functions pass RenderStyle around to call getRoundedInnerBorderFor. Introducing this function enables us to remove border painting functions' RenderStyle dependency.) * Source/WebCore/rendering/style/RenderStyle.cpp: (WebCore::calcRadiiFor): (WebCore::RenderStyle::getRoundedBorderFor const): We should find a place for these functions (they should not be on RenderStyle.) (WebCore::RenderStyle::getRoundedInnerBorderFor const): (WebCore::RenderStyle::getRoundedInnerBorderFor): (WebCore::RenderStyle::colorResolvingCurrentColor const): * Source/WebCore/rendering/style/RenderStyle.h: Canonical link: https://commits.webkit.org/255195@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes