Closed Bug 512605 Opened 15 years ago Closed 6 years ago

[HTML5] HTML5 parser gives up easily with deeply nested tags

Categories

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

x86
macOS
defect

Tracking

()

RESOLVED DUPLICATE of bug 256180

People

(Reporter: jruderman, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: testcase)

Attachments

(1 file)

No description provided.
As far as I know, the HTML5 isn't giving up. Perhaps it should. Maybe another layer gives up? Need to debug this.
Summary: HTML5 parser gives up easily with deeply nested tags → [HTML5] HTML5 parser gives up easily with deeply nested tags
The test case is hitting a DoS prevention feature. It's deterministic, though. Unless the current depth limit is a problem with a real site, I'm inclined to WONTFIX this (until layout gets rid of algorithms that recurse along the tree depth).
Priority: -- → P5
Users are encountering this problem in email messages received on Gmail and Hotmail accounts. SuMo threads: hotmail emails not displaying fully https://support.mozilla.org/questions/946526 Embedded images not displayed in Gmail https://support.mozilla.org/questions/962233 This probably is the fault of the mail agent generated the deeply nested tags, but as users have pointed out, there's no indication to the recipient as to why the message content is missing and no obvious workaround. When forwarding the message, the content becomes visible, but only during composition.
(In reply to Jefferson from comment #3) > Users are encountering this problem in email messages received on Gmail and > Hotmail accounts. SuMo threads: > > hotmail emails not displaying fully > https://support.mozilla.org/questions/946526 > > Embedded images not displayed in Gmail > https://support.mozilla.org/questions/962233 > > This probably is the fault of the mail agent generated the deeply nested > tags, but as users have pointed out, there's no indication to the recipient > as to why the message content is missing and no obvious workaround. When > forwarding the message, the content becomes visible, but only during > composition. I'm running firefox 46 on Ubuntu 14.04 (x86_64) and just noticed this bug as well today, and in my case the missing text does not become visible during forwarding/composition.
I think most likely this is a duplicate of bug 256180 - "Deeply nested elements are not rendered (TAGLVL has been exceeded)"
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: