Bug 23565 - Rename absoluteOutlineBounds() to something better
Summary: Rename absoluteOutlineBounds() to something better
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-26 22:50 PST by Simon Fraser (smfr)
Modified: 2024-01-13 17:14 PST (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2009-01-26 22:50:57 PST
Bug 12885 added absoluteOutlineBox(), which was later renamed to absoluteOutlineBounds(). The name gives little indication about how this differs from absoluteClippedOverflowRect(), so we should really come up with some better names.

absoluteOutlineBounds() is the border bounding box inflated by shadow and outlines, whereas absoluteClippedOverflowRect() computes an accurate outline.
Comment 1 Ahmad Saleem 2022-07-26 04:18:47 PDT
In Webkit Github mirror, there are still two instances of absoluteOutlineBounds() in following files:

https://github.com/WebKit/WebKit/blob/e4e4bba1f291d4773b907199bb5e6976d14c223d/Source/WebCore/html/HTMLAreaElement.cpp#L111

https://github.com/WebKit/WebKit/blob/500b3dbc7c61814787e117e9e724f990f9fa2ec2/Source/WebCore/rendering/RenderObject.h#L765

Is something this renaming required or it is now OK? Thanks!