Closed Bug 221952 Opened 21 years ago Closed 16 years ago

"border-collapse" combined with a :hover definition that changes the border changes the wrong borders

Categories

(Core :: Layout: Tables, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jast, Unassigned)

References

(Depends on 1 open bug, )

Details

(Keywords: testcase)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a) Gecko/20030728 Mozilla Firebird/0.6.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a) Gecko/20030728 Mozilla Firebird/0.6.1

On http://jast.mooo.com/ in the list of available languages, the choices are
surrounded by a dashed border, with the CSS attribute "border-collapsed" set to
"collapsed". Also, the CSS states that the border of an item be changed to
"solid" when the mouse moves over it.

Usually, Mozilla renders tables with collapsed borders according to the
standardised conflict resolution algorithm, and this should be the case with
dynamic changes in the relevant border attributes. However, in this case, only
some of the parts of the element's border will be rendered correctly by Mozilla:
the "German" item will be rendered to have a "solid" border everywhere except at
the bottom, and the "English" item will have only the bottom border rendered as
"solid". When moving the mouse from the "English" to the "German" item, all
borders of the "German" item plus the right border of the "English" item will be
rendered as "solid", which is a fairly unreasonable behaviour.

Reproducible: Always

Steps to Reproduce:
1. Visit http://jast.mooo.com/ or produce your own test case and open it in Mozilla
2. Move the mouse over the relevant items, on jast.mooo.com the language
selections, in several different motions



The bug has been confirmed by someone I know who is using the official Mozilla
1.4 Linux release. I can also reproduce the bug using Firebird 0.6.1 for Windows
and a nightly build of Firebird 0.7 for Windows, dated 20031008.
I just realised a minor mistake in my description. In fact, the "German" item,
when hovering the mouse over it, has all borders except the left one (not the
bottom one as I said earlier) rendered correctly. Sorry for the inconvenience.

Additional note on the designated test case; I've also tried the same with
<table> tags instead of <ul>/<li>, and both with and without all the extra CSS
candy, with the same result.
Component: Layout → Layout: Tables
Attached file testcase
Confirming new, as I see similar oddities with the testcase, 20031010 PC/WinXP
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
Depends on: 203686
Attached file Better test-case
Borders from cells other then the :hover cell change sometimes even.
For the testcase in comment #5 in Mozilla 1.7.12 and the Epiphany 1.6.7 I have linked against that Gecko (is it called a GRE yet?), the borders sometimes "stick" and wierd maze like patterns build up as I wave my mouse over the grid.
This is probably the same bug as bug 286797
this is wfm
Status: NEW → RESOLVED
Closed: 16 years ago
Flags: in-testsuite?
Resolution: --- → WORKSFORME
My testcase https://bugzilla.mozilla.org/attachment.cgi?id=203454 still fails miserably in Firefox 3.0.5.
The cell borders start out and should remain red. The 4 borders around a cell should change to black when you hover. Depending on the cell you hover over, incorrect borders (up to 6 total segments sometimes) change to black, sometimes only 1 changes. When the mouse leaves, certain combination leave borders black, instead of returning the entire thing to red.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: