| 1540 |
|
|
| 1541 |
redo A; |
redo A; |
| 1542 |
} else { |
} else { |
| 1543 |
!!!cp (82); |
if ($self->{next_char} == 0x0022 or # " |
| 1544 |
|
$self->{next_char} == 0x0027) { # ' |
| 1545 |
|
!!!cp (78); |
| 1546 |
|
!!!parse-error (type => 'bad attribute name'); |
| 1547 |
|
} else { |
| 1548 |
|
!!!cp (82); |
| 1549 |
|
} |
| 1550 |
$self->{current_attribute} |
$self->{current_attribute} |
| 1551 |
= {name => chr ($self->{next_char}), |
= {name => chr ($self->{next_char}), |
| 1552 |
value => '', |
value => '', |
| 1581 |
!!!next-input-character; |
!!!next-input-character; |
| 1582 |
redo A; |
redo A; |
| 1583 |
} elsif ($self->{next_char} == 0x003E) { # > |
} elsif ($self->{next_char} == 0x003E) { # > |
| 1584 |
|
!!!parse-error (type => 'empty unquoted attribute value'); |
| 1585 |
if ($self->{current_token}->{type} == START_TAG_TOKEN) { |
if ($self->{current_token}->{type} == START_TAG_TOKEN) { |
| 1586 |
!!!cp (87); |
!!!cp (87); |
| 1587 |
$self->{last_emitted_start_tag_name} = $self->{current_token}->{tag_name}; |
$self->{last_emitted_start_tag_name} = $self->{current_token}->{tag_name}; |
| 6955 |
$token->{tag_name} eq 'svg') { |
$token->{tag_name} eq 'svg') { |
| 6956 |
$reconstruct_active_formatting_elements->($insert_to_current); |
$reconstruct_active_formatting_elements->($insert_to_current); |
| 6957 |
|
|
| 6958 |
|
## "Adjust MathML attributes" ('math' only) - done in insert-element-f |
| 6959 |
|
|
| 6960 |
## "adjust SVG attributes" ('svg' only) - done in insert-element-f |
## "adjust SVG attributes" ('svg' only) - done in insert-element-f |
| 6961 |
|
|
| 6962 |
## "adjust foreign attributes" - done in insert-element-f |
## "adjust foreign attributes" - done in insert-element-f |