Closed Bug 384808 Opened 17 years ago Closed 17 years ago

Active link border should respect z-index

Categories

(Core Graveyard :: GFX, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 328296

People

(Reporter: ehsan.akhgari, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a6pre) Gecko/20070617 Minefield/3.0a6pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a5) Gecko/20070606 GranParadiso/3.0a5

See the attached test case.  Try to activate the link using either mouse or tab.  The border of the link appears through the first div which has bigger z-index value.

Happens both in FF3.0a5 and on the trunk.

Reproducible: Always

Steps to Reproduce:
1. Load the attached test case.
2. Press tab to activate the link.
3. The link border appears through the yellow div.
4. Click a blank part of the page to deactivate the link.  Now, right click the link.
5. The border again appears through the yellow div.
Actual Results:  
The link border is not masked through the higher z-index opaque div.

Expected Results:  
The link border should be covered by the higher z-index opaque div, just like its text is.

about:buildconfig

Build platform
target
i686-pc-cygwin

Build tools
Compiler 	Version 	Compiler flags
$(CYGWIN_WRAPPER) cl 	14.00.50727 	-TC -nologo -W3 -Gy -Fd$(PDBFILE)
$(CYGWIN_WRAPPER) cl 	14.00.50727 	-GR- -TP -nologo -Zc:wchar_t- -W3 -Gy -Fd$(PDBFILE)

Configure arguments
--enable-application=browser --enable-update-channel=beta --enable-optimize --disable-debug --disable-tests --enable-static --disable-shared --enable-svg --enable-canvas --enable-default-toolkit=cairo-windows --enable-update-packaging --with-branding=browser/branding/unofficial
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Attached file Testcase
The test case for the bug.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: