- From: <bugzilla@jessica.w3.org>
- Date: Thu, 14 Oct 2010 12:38:48 +0000
- To: public-html-bugzilla@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9659
--- Comment #29 from Henri Sivonen <hsivonen@iki.fi> 2010-10-14 12:38:48 UTC ---
(In reply to comment #28)
> I don't understand the pseudo-code. It doesn't seem to match what the spec does
> at all currently (e.g. where is the insertion mode switch block?).
startTag(...) {
if (current node is not in HTML namespace) {
if (NOT stuff that breaks out of foreign) {
if (parent that takes HTML children) {
goto theswitch;
}
insert a foreign node for the token
return;
}
do the breaking out of foreign thing
}
theswitch:
switch (mode) {
do all the mode-dependent stuff (continue to starttagloop if reprocessing
the token needed)
}
}
endTag(...) {
while (current node is not in HTML namespace) {
node = pop();
if (the lower-case name of the popped node matches the token) {
return;
}
}
switch (mode) {
do all the mode-dependent stuff
}
}
Where would this fail to match the conceptual intent of the spec? So far,
whenever the spec hasn't matched this model, there has been a spec bug...
--
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 12:38:50 UTC