Closed Bug 293576 Opened 15 years ago Closed 11 years ago

display:table-caption for a table cell makes it follow the mouse on hover

Categories

(Core :: Layout: Tables, defect)

defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: bugs.caleb, Assigned: bzbarsky)

References

Details

(Keywords: testcase)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050509 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050509 Firefox/1.0+

When you move your mouse over a table cell that has display:table-caption set
makes it move up until the mouse cursor.

Reproducible: Always

Steps to Reproduce:
Attached file testcase
To reproduce:

Move your mouse at the right side of the cell and watch it move.
Flags: blocking1.8b3?
Confirmed on Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.7)
Gecko/20050414 Firefox/1.0.3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Component: Layout → Layout: Tables
Keywords: testcase
QA Contact: layout → layout.tables
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050511
Firefox/1.0+

When you say "up", is this the same as "along to the right" -- "upto", or
are you seeing some vertical movement?

I think that I am seeing what you are, but I am not sure what the expected
behaviour is: When we change a <td> into a table caption we will change the
size and position of the table, I would expect undefined behaviour.
(In reply to comment #3)
> When you say "up", is this the same as "along to the right" -- "upto", or
> are you seeing some vertical movement?

Yes, I meant up to (vertical movement)
(In reply to comment #4)
> (In reply to comment #3)
> > When you say "up", is this the same as "along to the right" -- "upto", or
> > are you seeing some vertical movement?
> 
> Yes, I meant up to (vertical movement)

That's odd (unless I'm still misunderstanding) as for me, it moved to the right
(the tr's width kept expanding, while the td's width stayed the same, judging
from DOMi).
Jesus Christ, you should ignore me when I'm sleepy :)

The cell expands vertically and moves horizontally (to the right).
Depends on: 162063
Could somebody enlighten my why on earth this should block 1.8b3. This scenario
is rather excotic. Or please show me one reputable page that uses such a voodoo.
This shouldn't be blocking any releases for the foreseeable future.
Flags: blocking1.8b3?
Attached file Frame dumps
OS: Windows XP → All
Hardware: PC → All
Fixed by checkin for bug 162063.  Added test.
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Assignee: nobody → bzbarsky
You need to log in before you can comment on or make changes to this bug.