Closed Bug 58197 Opened 25 years ago Closed 24 years ago

Nested elements inside CAPTION are dropped

Categories

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

defect

Tracking

()

VERIFIED WORKSFORME
Future

People

(Reporter: robbe, Assigned: karnaze)

References

Details

(Whiteboard: [awd:tbl])

Attachments

(2 files)

Inside a CAPTION element, anything that is wrapped in EM is not rendered. This also happens for STRONG, A and maybe other elements nested in CAPTION.
Attached file testcase
It renders finr for me on linux trunk build 2000102608..
Tested on 10/27 Win, Mac and Linux builds. WORKSFORME. Cannot reproduce bug.
Forgot to tell that I see this problem in M18 (build id 2000101805)
Like the other people, I cannot reproduce this on a current CVS trunk build. Reporter: you might want to retest this with a current nightly build (either trunk or Netscape 6 breanch) and see if you can still reproduce it.
As it is visible from the content there should be a text 'second'. Which I do not see under Mozilla/5.0 (Windows; U; Win98; en-US; m18) Gecko/20001101 CVS-trunk. table@02460EC8 refcount=8< Text@024798E0 refcount=2<\n > caption@02479888 refcount=3< Text@02479F30 refcount=3<First > em@02479E48 refcount=2< Text@02479DD0 refcount=2<second> > Text@0247AB10 refcount=3< third> >
Status: UNCONFIRMED → NEW
Ever confirmed: true
I re-tested with the Nov 1 nightly, which works for me.
So should this be marked WORKSFORME, as reporter no concurs?
I can reproduce this with M18 (will try latest CVS asap) and hit it on the amtrak fare calculator (it wasn't showing the fare at all, since it was in a font tag)
"second" is invisible in the testcase if rendered on a recent trunk build (2000123021). This is on Linux. Based on Kevin's information, I added a real-life example in the URL: the table contains the train fare inside STRONG inside a CAPTION. Thus it is invisible in the mentioned build. Works fine in NS4.
Setting Platform/OS to All/All. I am seeing the problem on Win32 too.
OS: Linux → All
Hardware: PC → All
Summary: elements inside CAPTION are dropped → Nested elements inside CAPTION are dropped
Bug 34698 has an interesting remark. <caption> is an inline element and therefore it can only contain other inline elements.
rbs: Well, EM and STRONG *are* inline elements ...
Yep, what I said was a reminder to keep things in context... em, strong, b, even inline-block or inline-table...
QA Contact: chrisd → amar
QA contact update
*** Bug 76647 has been marked as a duplicate of this bug. ***
wfm on Win2K 2001041804
The URL does no longer work. Removed. Can still repro with the attached testcase. Linux trunk 2001041921 pfff...there's no html32 keyword
wfm win98 2001080603
Looks like this has been fixed, testing with today's Linux CVS build. I'm closing WORKSFORME. Reporter: reopen if you still see the bug.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
No go with 0.9.7 on Linux: "second" is still not visible. Not displaying random elements is non-compliant I think => added as a blocker of 7954.
Blocks: html4.01
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Is bug 110630 a possible dup of this?
IMO, not very likely. I seem to recall that #PCDATA rendered just fine when I reported this one&mdash;only inline element content was absent. This clearly isn't the problem, here, being that all the examples in bug 110630 have plaintext in the caption. (Working on vanilla 0.9.7 on NT4.0 now; nothing seems to be out of order.)
WFM on win2k and todays linux build. marking as such.
Status: REOPENED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → WORKSFORME
Whiteboard: [awd:tbl]
Target Milestone: --- → Future
The text that is wraped in <em> is rendered correctly now. Verified with Build ID: 20020301303
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: