Closed Bug 164313 Opened 23 years ago Closed 23 years ago

why does the outer table frame not pass the selection to the caption.

Categories

(Core :: Layout: Tables, defect, P3)

x86
Windows 98
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: bernd_mozilla, Assigned: bernd_mozilla)

References

()

Details

(Keywords: testcase)

Attachments

(2 files)

the code at http://lxr.mozilla.org/seamonkey/source/layout/html/table/src/nsTableOuterFrame.cpp#405 does not even mention a caption. I dont understand this. My feeling tells me it should descend also into a table caption. May be this would be the fix for the old editor bug that you can't enter text into a new created caption. This has to wait till Chris comes back to work, noone else at AIM??
Attached file testcase
press first the mouse down below the text in the green rectangle (the table cell content) and drag. second the mouse button down below the caption text (the orange rectangle) drag and see what text is selected.
Priority: -- → P3
Keywords: testcase
Attached patch patchSplinter Review
The patch copies the layer parameter as we use them for blocks just two lines below. The line was introduced by joki and I think the code was wrong because below the caption the layer change made that the frames could not see the event.
*** Bug 174144 has been marked as a duplicate of this bug. ***
Blocks: 48861
nsLayoutAtoms::captionList,aWhichLayer, looks like a space is missing before aWhichLayer
Comment on attachment 103509 [details] [diff] [review] patch + rv = GetFrameForPointUsing(aPresContext, aPoint, nsLayoutAtoms::captionList,aWhichLayer, Add a space before "aWhichLayer" and sr=bzbarsky
Attachment #103509 - Flags: superreview+
patch checked in into trunk
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: