Closed Bug 138876 Opened 23 years ago Closed 22 years ago

link in floated div causes wrongly sized clicked border / focus ring

Categories

(Core :: Layout, defect, P4)

x86
All
defect

Tracking

()

RESOLVED INVALID
Future

People

(Reporter: etreise, Assigned: attinasi)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0rc1) Gecko/20020417 BuildID: 2002041711 When clicking (left or right mouse button) on a link on the right side of the page, a long border from left side to right side appears around it. Reproducible: Always Steps to Reproduce: 1. go to http://xmlwebgui.sourceforge.net/ 2. right click on a link on the right side Actual Results: a long border around the link appears Expected Results: there should not be any border here
..whyever that happenes, but it happenes (on Linux, 1.0RC1)
Status: UNCONFIRMED → NEW
Ever confirmed: true
it happens because the menu on the right is 'floated' and floating has issues :)
Summary: when clicking on a link, a border appears around it → link in floated div causes wrongly sized clicked border / focus ring
No, it happens because the content on the _left_ is floated and the <a> elements on the right are display:block. The text in them flows around the floater on the left, but the width of the <a> elements is (correctly) the full width on the page. Putting borders on the links makes this very obvious. The focus ring is just outlining the boundary of the <a> and thus looks like it does. The only inconsistency is that clicking on the left part that's above the floater does not follow the link. In my opinion, it should.
OS: Windows XP → All
Priority: -- → P4
Target Milestone: --- → Future
OK. The left side is in fact _below_ the floater. The floater just has a transparent background. This is invalid -- the rendering is correct, as is the behavior, given that CSS.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.