[Bug 10802] Limit the number of identical items on the list of active formatting elements by removing previous duplicates when adding new items

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

--- Comment #6 from Henri Sivonen <hsivonen@iki.fi> 2010-10-14 11:59:44 UTC ---
(In reply to comment #5)
> Could you elaborate on what limit you would like to see specified?

I thought I covered this in comment 3.

If before adding an element to the list of active formatting elements, there
are already more than 2 duplicates (after the last marker if any) of the
element about to be added to the list, remove the earliest one. Then proceed
with adding the element that you were about to add to the list. (AFAICT, "more
than 2" can only be "3".)

Additionally, please edit the AAA: In step #1 of the AAA, if the first "If
there is no such node" check is true, abort the AAA and process the token
according to the rules for "any other end tag token".

(I could be persuaded that "more than 2" above should be "more than 1"
instead.)

-- 
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:59:46 UTC