Closed Bug 392663 Opened 18 years ago Closed 18 years ago

Table-cells changing in width when focusing link

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: martijn.martijn, Assigned: roc)

References

()

Details

(Keywords: regression, testcase, Whiteboard: [depends on 389666][dbaron-1.9:RwCt])

Attachments

(2 files)

Attached file testcase
See testcase, the width of the table cells change a bit when the link in the table cell is focused: Before link focus: td[0].offsetWidth: 805px td[1].offsetWidth: 32px td[2].offsetWidth: 579px After link focus: td[0].offsetWidth: 803px td[1].offsetWidth: 32px td[2].offsetWidth: 581px This regressed between 2007-06-20 and 2007-06-21, I think a regression from bug
(In reply to comment #0) > This regressed between 2007-06-20 and 2007-06-21, I think a regression from > bug ...?
Oops, I think a regression from bug 367177.
Attached file testcase 2
Posting a reduced version of first testcase. This one incorrectly places a linebreak in the <nobr> region ("b c") after the focus occurs. Also, this isn't just specific to focus -- you can get the same effect with document.links[0].textContent += ""; instead of document.links[0].focus();
Assignee: nobody → roc
Flags: blocking1.9? → blocking1.9+
My patch for bug 389666 fixes this.
Depends on: 389666
Whiteboard: [depends on 389666]
Whiteboard: [depends on 389666] → [depends on 389666][dbaron-1.9:RwCt]
Fixed by checkin for bug 389666.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Flags: in-testsuite?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: