Bug 106397 - Don't inflate all local bounding boxes by the maximal outline size
Summary: Don't inflate all local bounding boxes by the maximal outline size
Status: RESOLVED DUPLICATE of bug 153299
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-08 16:26 PST by Max Vujovic
Modified: 2022-07-26 10:13 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Max Vujovic 2013-01-08 16:26:25 PST
In RenderLayer::localBoundingBox, we inflate the bounds based on the maximum CSS outline size seen on the page. The maximal outline size is stored on RenderView, where there is a FIXME that sums it up:

// FIXME: This is ugly; it would be nice to have a better way to do this.
void RenderView::setMaximalOutlineSize(int o)
Comment 1 Simon Fraser (smfr) 2015-07-06 21:32:15 PDT
rdar://problem/13699130
Comment 2 Ahmad Saleem 2022-07-26 04:32:46 PDT
This was added in the past but removed in this commit:

https://github.com/WebKit/WebKit/commit/5b52c6c0f8213264aeed5d8898110430f72273a7

Line 857 - Source/WebCore/rendering/RenderView.cpp

Is this needed anymore?
Comment 3 Ryosuke Niwa 2022-07-26 10:13:24 PDT

*** This bug has been marked as a duplicate of bug 153299 ***