Closed Bug 310461 Opened 19 years ago Closed 16 years ago

object doesn't shrink 1px after CSS border via :hover has mouse taken away from it

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: backglancer, Unassigned)

References

()

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7

on mouse over the border increases by 1 px
but on mouse out it does not decrease  (via :hover style)

Reproducible: Always

Steps to Reproduce:
this strange combination of styles
Actual Results:  
The border kept growing

Expected Results:  
the 1px border should have been subtracted with hover on mouse out.

Build platform
target
i586-pc-msvc

Build tools
Compiler 	Version 	Compiler flags
$(CYGWIN_WRAPPER) cl 	12.00.8804 	-TC -nologo -W3 -nologo -Gy -Fd$(PDBFILE)
$(CYGWIN_WRAPPER) cl 	12.00.8804 	-TP -nologo -W3 -nologo -Gy -Fd$(PDBFILE)

Configure arguments
--disable-ldap --disable-mailnews
--enable-extensions=cookie,xml-rpc,xmlextras,pref,transformiix,universalchardet,webservices,inspector,gnomevfs,negotiateauth
--enable-crypto --disable-composer --enable-single-profile
--disable-profilesharing --enable-optimize --disable-debug --disable-tests
--enable-static --disable-shared --enable-official-branding
an <a> is not a block element

if you define 

a { display:block ; color:#006; text-decoration: none }
a:hover { color:#060; border-bottom: 1px #060 dashed; }

it works
Component: Build Config → General
QA Contact: build.config → general
(In reply to comment #3)
> it works
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: