[webkit-changes] [WebKit/WebKit] 0bfa98: Add outlineBoundsRect to RepaintRects
Simon Fraser
noreply at github.com
Fri Dec 1 23:33:13 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0bfa98376d7330aae32fffe27eff473b21693152
https://github.com/WebKit/WebKit/commit/0bfa98376d7330aae32fffe27eff473b21693152
Author: Simon Fraser <simon.fraser at apple.com>
Date: 2023-12-01 (Fri, 01 Dec 2023)
Changed paths:
M Source/WebCore/rendering/RenderBox.cpp
M Source/WebCore/rendering/RenderObject.cpp
M Source/WebCore/rendering/RenderObject.h
M Source/WebCore/rendering/svg/RenderSVGModelObject.cpp
Log Message:
-----------
Add outlineBoundsRect to RepaintRects
https://bugs.webkit.org/show_bug.cgi?id=265695
rdar://119049099
Reviewed by Alan Baradlay.
Another step towards computing clippedOverflowRect and outlineBoundsRect in the same
ancestor traversal is adding an optioal outlineBoundsRect to RepaintRects. Note
that this isn't clipped by the `intersect` functions, replicating the unclipped
behavior of `outlineBoundsForRepaint()`.
No-one sets the outlineBoundsRect yet.
* Source/WebCore/rendering/RenderBox.cpp:
(WebCore::RenderBox::applyCachedClipAndScrollPosition const):
* Source/WebCore/rendering/RenderObject.cpp:
(WebCore::RenderObject::RepaintRects::transform):
* Source/WebCore/rendering/RenderObject.h:
(WebCore::RenderObject::RepaintRects::RepaintRects):
(WebCore::RenderObject::RepaintRects::move):
(WebCore::RenderObject::RepaintRects::moveBy):
(WebCore::RenderObject::RepaintRects::expand):
(WebCore::RenderObject::RepaintRects::encloseToIntRects):
(WebCore::RenderObject::RepaintRects::unite):
(WebCore::RenderObject::RepaintRects::flipForWritingMode):
(WebCore::RenderObject::RepaintRects::intersect):
(WebCore::RenderObject::RepaintRects::edgeInclusiveIntersect):
* Source/WebCore/rendering/svg/RenderSVGModelObject.cpp:
(WebCore::RenderSVGModelObject::applyCachedClipAndScrollPosition const):
Canonical link: https://commits.webkit.org/271422@main
More information about the webkit-changes
mailing list