Closed Bug 265137 Opened 20 years ago Closed 20 years ago

<em> tag: Firefox will not stop emphasis if there is an alternate code tag, unkown tag, or <b> between the <em> and </em> tags unless the alternate tag ends first.

Categories

(Core :: DOM: HTML Parser, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 256731

People

(Reporter: jetster, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10

IE renders the example page I made the way the coder would expect.  I'm not sure
if the html standard requires tags changes font format to end before the tags
that started before them, but I believe this is a problem of rendering that
should be fixed by checking the rest of the stack for the html tags that are
being closed.

Reproducible: Always
Steps to Reproduce:
1. Check example web page.
2.
3.

Actual Results:  
Rendering is not what expected.

Expected Results:  
Italics should end

I have noticed this on sites like the New York Times and other news sites when
they are including quotes in articles, the entire article is emphasized or
italic when it should not be.
Assignee: firefox → nobody
Component: General → Layout
Product: Firefox → Browser
QA Contact: firefox.general → core.layout
Version: unspecified → Trunk
let me note that the html standard requires _nesting the tags properly_ (e.g.
<foo><bar></foo></bar> is invalid)

anyway, -> parser
Assignee: nobody → parser
Component: Layout → HTML: Parser
QA Contact: core.layout → mrbkap
This is a duplicate.

*** This bug has been marked as a duplicate of 256731 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.