WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
13486
RenderObject::absoluteBoundingBoxRect() does not account for border or padding of elements
https://bugs.webkit.org/show_bug.cgi?id=13486
Summary
RenderObject::absoluteBoundingBoxRect() does not account for border or paddin...
David Kilzer (:ddkilzer)
Reported
2007-04-25 09:52:23 PDT
* SUMMARY When using the Web Inspector on certain elements, the red highlight box is not centered on the element, nor does it cover the whole element. * STEPS TO REPRODUCE 1. Open Safari/WebKit. 2. Open the attached test case or view the Bank of America site. 3. Right click on the "Border" or "Padding links (on the test page) or the "Sign In" button on the Bank of America site and select "Inspect Element". 4. Note the location of the red highlight box. * EXPECTED RESULTS Either: - The red highlight box should encompass the whole element, including the border and/or padding. - The red highlight box should be centered around the original element, excluding the border and/or padding. * ACTUAL RESULTS The red highlight box is always in the upper left-hand corder of the area created by the element plus its border and padding, so it's neither centered around the original element, nor does it include the extra space used by the border and/or padding. * REGRESSION This is not a regression since shipping Safari does not include a Web Inspector, and this behavior causes no known bugs at the moment.
Attachments
Test case
(315 bytes, text/html)
2007-04-25 09:53 PDT
,
David Kilzer (:ddkilzer)
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
David Kilzer (:ddkilzer)
Comment 1
2007-04-25 09:53:18 PDT
Created
attachment 14176
[details]
Test case
Robert Hogan
Comment 2
2013-07-27 02:20:21 PDT
This looks OK to me now. OK to close?
Ahmad Saleem
Comment 3
2023-05-05 14:11:57 PDT
Firefox Nightly 114, Chrome Canary 115 and Safari 16.4.1 are matching each other in the attached testcase. Marking this as "RESOLVED CONFIGURATION CHANGED", please reopen if this is reproducible. Thanks!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug