Closed Bug 2124 Opened 26 years ago Closed 26 years ago

content overlaps for nested <Hn> + style sheets

Categories

(Core :: Layout, defect, P2)

x86
Windows 95
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: andreww, Assigned: buster)

References

()

Details

Text appears to "overlap" in table marked "latest news". Compare to Nav 4.5 rendering.
Component: HTMLTables → Layout
Summary: content overlaps in table cells → content overlaps for nested <Hn> + style sheets
(changed summary line; set component to Layout not Tables (but may be Style or Parser)). (Tested with Nightly build - Dec 31 - Win95) Test case: Here is the simplest test case I could derive from the original markup. Key point is the <H2><A><H1>sometext</A></H2> markup combined with the font information in the stylesheet. *Not* a tables problem (but the constrained width of the table helps to make the overlap more visible). <HTML><HEAD><style type="text/css"><!-- H1 { font: 24px/24px arial, sans-serif; } H2 { font: 20px/22px arial, sans-serif; } --></style></HEAD><BODY> <!-- this table is not required to force the bug --> <TABLE BORDER="1" WIDTH="400"><TR><TD> <H2><A HREF="foo"><H1>This is the header but it is marked up as a H1 inside an A inside an H2 with a stylesheet that sets the point sizes and font-family ???</A></H2> <P>this is the following paragraph this is the following paragraph this is the following paragraph this is the following paragraph this is the following paragraph this is the following paragraph this is the following paragraph this is the following paragraph</P> </TD></TR></TABLE> </BODY></HTML>
Assignee: buster → peterl
Status: ASSIGNED → NEW
as the submitter says, it's not a table bug. maybe style system?
Assignee: peterl → kipp
This appears to be realted to the line-height being specified.
Status: NEW → ASSIGNED
Setting all current Open/Normal to M4.
per leger, assigning QA contacts to all open bugs without QA contacts according to list at http://bugzilla.mozilla.org/describecomponents.cgi?product=Browser
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
The line-height issues are resolved and despite the broken content the test case seems to layout properly now... The that the page pointed to by the url in the bug report may *not* layout properly because it makes extensive usage of blocks-inside-inlines, which is not yet finished being implemented...I already have a few bugs for that, so don't reopen it for that issue.
Status: RESOLVED → VERIFIED
Fixed in April 5th Build.
You need to log in before you can comment on or make changes to this bug.