[Webkit-unassigned] [Bug 13486] New: RenderObject::absoluteBoundingBoxRect() does not account for border or padding of elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 25 09:52:23 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=13486

           Summary: RenderObject::absoluteBoundingBoxRect() does not account
                    for border or padding of elements
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Macintosh
               URL: http://www.bankofamerica.com/
        OS/Version: Mac OS X 10.4
            Status: NEW
          Keywords: HasReduction
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ddkilzer at webkit.org


* 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.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list