Changeset 282501 in webkit
- Timestamp:
- Sep 16, 2021, 1:09:11 AM (5 years ago)
- Location:
- releases/WebKitGTK/webkit-2.32/Source/WebCore
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
dom/Element.cpp (modified) (1 diff)
-
svg/SVGElement.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
releases/WebKitGTK/webkit-2.32/Source/WebCore/ChangeLog
r282500 r282501 1 2021-04-13 Rob Buis <rbuis@igalia.com> 2 3 Skip style update 4 https://bugs.webkit.org/show_bug.cgi?id=223365 5 6 Reviewed by Ryosuke Niwa. 7 8 Skip style update for getting the SVG bounding box 9 since boundingClientRect already updated style. 10 11 * dom/Element.cpp: 12 (WebCore::Element::boundingAbsoluteRectWithoutLayout): 13 * svg/SVGElement.cpp: 14 (WebCore::SVGElement::getBoundingBox): 15 1 16 2021-04-12 BJ Burg <bburg@apple.com> 2 17 -
releases/WebKitGTK/webkit-2.32/Source/WebCore/dom/Element.cpp
r280901 r282501 1614 1614 SVGElement& svgElement = downcast<SVGElement>(*this); 1615 1615 FloatRect localRect; 1616 if (svgElement.getBoundingBox(localRect ))1616 if (svgElement.getBoundingBox(localRect, SVGLocatable::DisallowStyleUpdate)) 1617 1617 quads.append(renderer->localToAbsoluteQuad(localRect)); 1618 1618 } else if (auto pair = listBoxElementBoundingBox(*this)) { -
releases/WebKitGTK/webkit-2.32/Source/WebCore/svg/SVGElement.cpp
r280829 r282501 294 294 bool SVGElement::getBoundingBox(FloatRect& rect, SVGLocatable::StyleUpdateStrategy styleUpdateStrategy) 295 295 { 296 // FIXME: should retrieve the value from the associated RenderObject. 296 297 if (is<SVGGraphicsElement>(*this)) { 297 298 rect = downcast<SVGGraphicsElement>(*this).getBBox(styleUpdateStrategy);
Note:
See TracChangeset
for help on using the changeset viewer.