| 3338 |
} elsif ($self->{insertion_mode} & HEAD_IMS) { |
} elsif ($self->{insertion_mode} & HEAD_IMS) { |
| 3339 |
if ($token->{type} == CHARACTER_TOKEN) { |
if ($token->{type} == CHARACTER_TOKEN) { |
| 3340 |
if ($token->{data} =~ s/^([\x09\x0A\x0B\x0C\x20]+)//) { |
if ($token->{data} =~ s/^([\x09\x0A\x0B\x0C\x20]+)//) { |
| 3341 |
$self->{open_elements}->[-1]->[0]->manakai_append_text ($1); |
unless ($self->{insertion_mode} == BEFORE_HEAD_IM) { |
| 3342 |
|
!!!cp ('t88.2'); |
| 3343 |
|
$self->{open_elements}->[-1]->[0]->manakai_append_text ($1); |
| 3344 |
|
} else { |
| 3345 |
|
!!!cp ('t88.1'); |
| 3346 |
|
## Ignore the token. |
| 3347 |
|
!!!next-token; |
| 3348 |
|
redo B; |
| 3349 |
|
} |
| 3350 |
unless (length $token->{data}) { |
unless (length $token->{data}) { |
| 3351 |
!!!cp ('t88'); |
!!!cp ('t88'); |
| 3352 |
!!!next-token; |
!!!next-token; |