W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > October 2010

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

From: <bugzilla@jessica.w3.org>
Date: Thu, 14 Oct 2010 11:49:21 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1P6MJF-0007ZP-6W@jessica.w3.org>

--- 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:31 UTC