[Bug 10801] Limit the number of iterations in the loops in the AAA

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10801

--- Comment #6 from Henri Sivonen <hsivonen@iki.fi> 2010-10-14 11:49:20 UTC ---
(In reply to comment #5)
> Could you elaborate on what limit you would like to see specified? What should
> happen when the loop count has been exceeded?

I thought I covered these is comment 2.

I'm suggesting that the outer loop be run at most for 8 iterations per entry
into the outer loop. I'm suggesting that the inner loop be run at most for 3
iterations per entry into the inner loop. When the limit is hit, I'm suggesting
running the code after the loop without any more fancy action than that.

> Is the goal to simply stop creating elements? How would this handle a page like
> the ASCII art colour Tux constructed with nothing but one opening <font> per
> character, or pages that use nested <em>s for "semantic" tag clouds?

Is either of these a problem when the end tag matches the current element?

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 14 October 2010 11:49:22 UTC