936 |
$doctype->public_id ($token->{pubid}) if defined $token->{pubid}; |
$doctype->public_id ($token->{pubid}) if defined $token->{pubid}; |
937 |
$doctype->system_id ($token->{sysid}) if defined $token->{sysid}; |
$doctype->system_id ($token->{sysid}) if defined $token->{sysid}; |
938 |
## NOTE: Other DocumentType attributes are null or empty lists. |
## NOTE: Other DocumentType attributes are null or empty lists. |
939 |
## ISSUE: internalSubset = null?? |
## In Firefox3, |internalSubset| attribute is set to the empty |
940 |
|
## string, while |null| is an allowed value for the attribute |
941 |
|
## according to DOM3 Core. |
942 |
$self->{document}->append_child ($doctype); |
$self->{document}->append_child ($doctype); |
943 |
|
|
944 |
if ($token->{quirks} or $doctype_name ne 'HTML') { |
if ($token->{quirks} or $doctype_name ne 'HTML') { |
2502 |
## Reprocess in the "after head" insertion mode... |
## Reprocess in the "after head" insertion mode... |
2503 |
} elsif ($self->{insertion_mode} == IN_HEAD_NOSCRIPT_IM) { |
} elsif ($self->{insertion_mode} == IN_HEAD_NOSCRIPT_IM) { |
2504 |
!!!cp ('t143.3'); |
!!!cp ('t143.3'); |
2505 |
## ISSUE: Two parse errors for <head><noscript></br> |
## NOTE: Two parse errors for <head><noscript></br> |
2506 |
!!!parse-error (type => 'unmatched end tag', |
!!!parse-error (type => 'unmatched end tag', |
2507 |
text => 'br', token => $token); |
text => 'br', token => $token); |
2508 |
## As if </noscript> |
## As if </noscript> |
5615 |
}->{$node_ln}; |
}->{$node_ln}; |
5616 |
$p->{content_model} = PCDATA_CONTENT_MODEL |
$p->{content_model} = PCDATA_CONTENT_MODEL |
5617 |
unless defined $p->{content_model}; |
unless defined $p->{content_model}; |
|
## ISSUE: What is "the name of the element"? local name? |
|
5618 |
|
|
5619 |
$p->{inner_html_node} = [$node, $el_category->{$node_ln}]; |
$p->{inner_html_node} = [$node, $el_category->{$node_ln}]; |
5620 |
## TODO: Foreign element OK? |
## TODO: Foreign element OK? |