Closed
Bug 753344
Opened 12 years ago
Closed 12 years ago
Having 200 nested divs means that new tag opening is ignored
Categories
(Core :: DOM: HTML Parser, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 354161
People
(Reporter: norbert, Unassigned)
Details
Attachments
(1 file)
13.69 KB,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0 Build ID: 20120312181643 Steps to reproduce: I used over 198 anchors in the form of a div section (e.g. <div id='anchor_123' />). Actual results: Firefox will stop formatting anything that follows after the 198th anchor. (If I split the tag into <div id='anchor_123'></div> the error doesn't occur.) Expected results: Formatting should continue normally (it does in Internet Explorer or Chrome).
Reporter | ||
Comment 1•12 years ago
|
||
The same thing happens in V11.0 or in V12.0
Updated•12 years ago
|
Attachment #622376 -
Attachment mime type: text/plain → text/html
Comment 2•12 years ago
|
||
confirming with Mozilla/5.0 (Windows NT 6.1; rv:15.0) Gecko/15.0 Firefox/15.0a1 SeaMonkey/2.12a1
Status: UNCONFIRMED → NEW
Component: Untriaged → Layout
Ever confirmed: true
Product: Firefox → Core
QA Contact: untriaged → layout
Comment 3•12 years ago
|
||
The issue is just having 200 or so unclosed elements on the stack (because the trailing / in a start tag does NOT close the tag in HTML). Once you get to that point, we stop allowing new elements to open as a way to protect against DoS attacks by pages... There are existing bugs about that. This is implemented directly in the parser.
Component: Layout → HTML: Parser
QA Contact: layout → parser
Whiteboard: DUPEME
Updated•12 years ago
|
Summary: Too many anchors are sinking Firefox → Having 200 nested divs means that new tag opening is ignored
Comment 4•12 years ago
|
||
look like a dupe of bug 354161
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•