diff options
author | Andrew Sidwell <andy@entai.co.uk> | 2008-08-09 16:23:49 +0000 |
---|---|---|
committer | Andrew Sidwell <andy@entai.co.uk> | 2008-08-09 16:23:49 +0000 |
commit | d262607f0dd6b5c80be660e3f6db43477259acd8 (patch) | |
tree | 6b9e048983c820f014e1d3f5afb16965cbf32bb8 | |
parent | 4df409a9ebcba33b4a2a5dcdde60812aeb7940a3 (diff) | |
download | libhubbub-d262607f0dd6b5c80be660e3f6db43477259acd8.tar.gz libhubbub-d262607f0dd6b5c80be660e3f6db43477259acd8.tar.bz2 |
Remove some commented-out code that doesn't reflect the spec's intention. Filed a bug upstream on the issue so the spec's wording can be fixed. (http://www.w3.org/Bugs/Public/show_bug.cgi?id=5944)
svn path=/trunk/hubbub/; revision=4976
-rw-r--r-- | src/treebuilder/in_body.c | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/treebuilder/in_body.c b/src/treebuilder/in_body.c index e1a0a8f..7530d4c 100644 --- a/src/treebuilder/in_body.c +++ b/src/treebuilder/in_body.c @@ -268,17 +268,9 @@ bool process_start_tag(hubbub_treebuilder *treebuilder, } else if (type == TABLE) { process_container_in_body(treebuilder, token); - /** \todo Section 9.2.3.1 is really vague - * Are we meant to reset the insertion mode all the time or - * only when we're actually in body? I'd inferred the latter - * interpretation from the spec, but that causes breakage on - * real-world pages. */ -/* if (treebuilder->context.mode == IN_BODY) {*/ - treebuilder->context.element_stack[ - current_table(treebuilder)]. - tainted = false; - treebuilder->context.mode = IN_TABLE; -/* }*/ + treebuilder->context.element_stack[current_table(treebuilder)] + .tainted = false; + treebuilder->context.mode = IN_TABLE; } else if (type == AREA || type == BASEFONT || type == BGSOUND || type == BR || type == EMBED || type == IMG || type == PARAM || |