Closed Bug 103387 Opened 23 years ago Closed 23 years ago

[quirks]DIV cannot directly support DD element inside.

Categories

(Core :: DOM: HTML Parser, defect, P2)

x86
Windows 98
defect

Tracking

()

VERIFIED FIXED
mozilla0.9.6

People

(Reporter: mgalli, Assigned: harishd)

References

()

Details

(Keywords: testcase, topembed, Whiteboard: [fix in hand])

Attachments

(1 file)

Investigated with Harish a testcase based in the above web site and we believe
it's  a good to fix / enhance. I will add the simple testcase: 

So when we have: 

Original source: 
===============
<DIV style="visibility:hidden">
   <DD><img src="someimage.gif">
</DIV>

Produces the following tree: 
===========================
<DIV style="visibility:hidden">
</DIV>
<DD><img src="someimage.gif">
</DD>

So the DD is expecting the parent to be an inline element, if not (like the
case) we close the DIV excluding the DD,. then end user see the DD and its
elements (note that in the sample the div visibility is hidden).
Attached file simpletestcase.
Summary: DIV cannot directly support DD element inside. → DIV cannot directly support DD element inside.
Keywords: testcase
Summary: DIV cannot directly support DD element inside. → [quirks]DIV cannot directly support DD element inside.
Patch ( http://bugzilla.mozilla.org/showattachment.cgi?attach_id=53309 )in bug
102370 should fix this bug too.
Status: NEW → ASSIGNED
Priority: -- → P2
Whiteboard: [fix in hand]
Target Milestone: --- → mozilla0.9.6
Fixed along with bug 102370.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
*** Bug 104991 has been marked as a duplicate of this bug. ***
I still see the distorted layout of page content on the URL 
Tested on the build 2001-10-22 on win2k and Linux. Reopening the bug
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
AFASIK, this is fixed. Marcio, could you please verify this? Thanx.
Marking fixed again. Marcio, please verify this.
Status: REOPENED → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → FIXED
Verified Fixed on trunk builld ID :20011101
Status: RESOLVED → VERIFIED
Adding important keywords here - this is from WarnerClassics web site and it's a
pretty simple coding (see testcase) affecting the layout completelly. 

Keywords: nsbeta1, topembed
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: