WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
13476
Line box is misplaced for an anchor containing a positioned image
https://bugs.webkit.org/show_bug.cgi?id=13476
Summary
Line box is misplaced for an anchor containing a positioned image
David Kilzer (:ddkilzer)
Reported
2007-04-24 19:41:23 PDT
* SUMMARY 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). * STEPS TO REPRODUCE 1. Open Safari/WebKit. 2. Open the attached test case. 3. Right-click on the image, select "Inspect Element". * EXPECTED RESULTS The red highlight should be drawn around the image on the screen. * ACTUAL RESULTS The red highlight draws where the image would be if it was not set to "position: absolute". * REGRESSION 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. * NOTES - 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.
Attachments
Test case
(237 bytes, text/html)
2007-04-24 19:42 PDT
,
David Kilzer (:ddkilzer)
no flags
Details
Test case with colored div
(262 bytes, text/html)
2007-12-21 15:27 PST
,
David Kilzer (:ddkilzer)
no flags
Details
Screenshot of test case v2 anchor tag highlighted in Web Inspector
(3.64 KB, image/png)
2007-12-21 15:30 PST
,
David Kilzer (:ddkilzer)
no flags
Details
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
David Kilzer (:ddkilzer)
Comment 1
2007-04-24 19:42:13 PDT
Created
attachment 14164
[details]
Test case
David Kilzer (:ddkilzer)
Comment 2
2007-12-21 15:27:55 PST
Created
attachment 18043
[details]
Test case with colored div Test case with colored div. Next attachment will be a screenshot with Web Inspector highlighting showing the bug.
David Kilzer (:ddkilzer)
Comment 3
2007-12-21 15:30:41 PST
Created
attachment 18044
[details]
Screenshot of test case v2 anchor tag highlighted in Web Inspector * STEPS TO REPRODUCE 1. Open test case v2 (
Attachment #18043
[details]
). 2. Right-click on image and open Web Inspector. 3. Click on anchor tag <a> to highlight it. 4. Highlighting similar to this screenshot appears.
Robert Hogan
Comment 4
2013-06-01 02:14:35 PDT
I can no longer reproduce this.
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