Open Bug 272269 Opened 20 years ago Updated 2 years ago

tfoot automatically selected according to source code order

Categories

(Core :: Layout: Tables, defect)

x86
Windows XP
defect

Tracking

()

People

(Reporter: justincwatt, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

When you select a THEAD row and the first TBODY row in a table, the TFOOT row is also selected (IE6 exhibits the same behavior). See URL with test case. Expected behavior would be for text to be selected in the table in the order that it appears, not in the source code order. See Bug 272267 for related copy/paste problem.
*** Bug 272267 has been marked as a duplicate of this bug. ***
(From Bug 272267) As a result of this bug, when a table is copied out of a webpage, the THEAD, TFOOT, TBODY order of the HTML source is preserved.
Justin, could you please attach the testcase to this bug, so it won't be lost if that URL changes?
Attached file testcase for bug
this html testcase demonstrates the bug and describes the expected vs. actual behavior. it is the same file available at this url: http://justinsomnia.org/mozilla/tfoot_copy_problem.html
Keywords: testcase
Although it doesn’t fix the bug, HTML5 has relaxed the spec to allow <tfoot> to follow <tbody> so in that case selection would be ordered correctly: http://dev.w3.org/html5/spec/Overview.html#the-tfoot-element
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: