[Webkit-unassigned] [Bug 13476] New: Line box is misplaced for an anchor containing a positioned image

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 24 19:41:24 PDT 2007


           Summary: Line box is misplaced for an anchor containing a
                    positioned image
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Macintosh
               URL: http://web.mac.com/dreisbach/
        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

When using the WebInspector, inspecting an anchor that contains a positioned
image causes the red hightlight rect to be drawn in the wrong place (e.g.,
where the image would be if it were not positioned).

1. Open Safari/WebKit.
2. Open the attached test case.
3. Right-click on the image, select "Inspect Element".

The red highlight should be drawn around the image on the screen.

The red highlight draws where the image would be if it was not set to
"position: absolute".

I doubt that this is a regression from shipping Safari, but I don't have an
easy way to test it without the Web Inspector.

- The red highlight rect is also mispositioned if the style is "position:
relative" instead of "position: absolute".  The "position: fixed" style is also
mispositioned, but the "position: static" style is not.

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