Closed Bug 8411 Opened 25 years ago Closed 24 years ago

[EVENTTARG]display: table-caption; element outside a table not displayed!

Categories

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

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: jst, Assigned: joki)

References

()

Details

(Keywords: testcase, Whiteboard: [TESTCASE])

Attachments

(1 file)

The given url contains basically

<doc><p>...</p>
<captionelement>...</captionelement>
<p>...</p></doc>

and the css style for captionelement is display: table-caption;

Viewing this with gecko doesn't display the content of the captionelement,
there's space on the screen where the content should be but nothing is drawn.
Attached file attached XML testcase
Whiteboard: [TESTCASE]
Verified simplest testcase. Marking as [TESTCASE]...

PROBLEM
Caption elements are not displayed.

RESULT
Blank space where caption should be.

EXPECTED
The caption in red text.

Here's the code:
<?xml version="1.0"?>
<?xml-stylesheet href="http://www.citec.fi/~jst/caption_notdisplayed.css" type=
"text/css"?>
<doc>
<p>The following text is in a caption element whose style is set to
display:table-caption. The element is not inside a table.</p>
<captionelement>This is a caption element.</captionelement>
<p>If there's no red text between this text and the previous text the caption is
not displayed.</p>
</doc>
This is another anonymous table elements problem.  See bug 2479.
Status: NEW → ASSIGNED
Target Milestone: M11
Moving to M13.
Target Milestone: M13 → M14
mass move to m14.
Bulk moving [testcase] code to new testcase keyword. Sorry for the spam!
Keywords: testcase
Fixed.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
This is partly fixed at least, the caption is displayd correctly but it's
impossible to select text in the caption for some season, weird!

Should we reopen or should I file a new bug?
jst, could you please open a new bug and assign it to the "selection" component 
and assign it to "mjudge@netscape.com". 
karnaze, I looked some more into this problem and it's not just a selection
problem. I added a link (html:a) in the caption (in the the above URL) and
clicking on the url does nothing! Could this be an event problem somewhere in
the table code?
reopening
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Reassigning to joki and CCing mjudge.
Reassigning to Joki this time.
Assignee: karnaze → joki
Status: REOPENED → NEW
Target Milestone: M14
Verified that this is still a problem. I can't select the text in the caption 
element. Mouse down events don't seem to be reaching it.
Set M16 milestone
Target Milestone: M16
Summary: display: table-caption; element outside a table not displayed! → [EVENTTARG]display: table-caption; element outside a table not displayed!
Removing the dependency on bug 2479 since it is fixed and the selection is still 
not functioning.
No longer depends on: 2479
I fixed the caption issue a little while ago.
Status: NEW → RESOLVED
Closed: 25 years ago24 years ago
Resolution: --- → FIXED
Verified fixed with 7/13 build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: