| 7141 |
!!!cp ('t413'); |
!!!cp ('t413'); |
| 7142 |
!!!parse-error (type => 'unmatched end tag', |
!!!parse-error (type => 'unmatched end tag', |
| 7143 |
text => $token->{tag_name}, token => $token); |
text => $token->{tag_name}, token => $token); |
| 7144 |
|
## NOTE: Ignore the token. |
| 7145 |
} else { |
} else { |
| 7146 |
## Step 1. generate implied end tags |
## Step 1. generate implied end tags |
| 7147 |
while ({ |
while ({ |
| 7201 |
!!!cp ('t421'); |
!!!cp ('t421'); |
| 7202 |
!!!parse-error (type => 'unmatched end tag', |
!!!parse-error (type => 'unmatched end tag', |
| 7203 |
text => $token->{tag_name}, token => $token); |
text => $token->{tag_name}, token => $token); |
| 7204 |
|
## NOTE: Ignore the token. |
| 7205 |
} else { |
} else { |
| 7206 |
## Step 1. generate implied end tags |
## Step 1. generate implied end tags |
| 7207 |
while ($self->{open_elements}->[-1]->[1] & END_TAG_OPTIONAL_EL) { |
while ($self->{open_elements}->[-1]->[1] & END_TAG_OPTIONAL_EL) { |
| 7248 |
!!!cp ('t425.1'); |
!!!cp ('t425.1'); |
| 7249 |
!!!parse-error (type => 'unmatched end tag', |
!!!parse-error (type => 'unmatched end tag', |
| 7250 |
text => $token->{tag_name}, token => $token); |
text => $token->{tag_name}, token => $token); |
| 7251 |
|
## NOTE: Ignore the token. |
| 7252 |
} else { |
} else { |
| 7253 |
## Step 1. generate implied end tags |
## Step 1. generate implied end tags |
| 7254 |
while ($self->{open_elements}->[-1]->[1] & END_TAG_OPTIONAL_EL) { |
while ($self->{open_elements}->[-1]->[1] & END_TAG_OPTIONAL_EL) { |