Closed Bug 6950 Opened 26 years ago Closed 26 years ago

residual style problem - style leaks

Categories

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

x86
Windows 98
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: hyp-x, Assigned: rickg)

Details

The example below is expected to be rendered the way the content says. In M5 (pre residual style handling) it was rendered with the text "italic" rendered as plain, because </b> closed </i> as well (it handled the case consistently...) Now I've tested the 1999052208 build and found, that </b> is not closed at all "leaking" the bold style. --- <html> <body> plain <b>bold <i>bold&italic </b>italic </i>plain </body> </html> --- Note that while IE4 renders the example as expected, NS4.5 does not. In fact IE4, NS4.5, M5 and preM6 render this example in 4 different ways: In IE4 it looks like: plain <b>bold <i>bold&italic </i></b><i>italic </i>plain In NS4.5 it looks like: plain <b>bold <i>bold&italic </i>italic </b>plain In M5 it looks like: plain <b>bold <i>bold&italic </i></b>italic plain In 1999052208 it looks like (<b> left open!): plain <b>bold <i>bold&italic italic </i>plain
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Fixed by new residual style handling in CNavDTD.
Status: RESOLVED → VERIFIED
Verified 1999-06-15-16-M7
You need to log in before you can comment on or make changes to this bug.