329 |
## Whatpm::ContentChecler::HTML for the list of all (conditionally |
## Whatpm::ContentChecler::HTML for the list of all (conditionally |
330 |
## or permanently) interactive content. |
## or permanently) interactive content. |
331 |
|
|
332 |
|
## The variable name is not good, since this method also returns |
333 |
|
## true for non-interactive content as long as the element cannot be |
334 |
|
## interactive content. |
335 |
|
|
336 |
if ($nsuri eq $HTML_NS and ($ln eq 'video' or $ln eq 'audio')) { |
if ($nsuri eq $HTML_NS and ($ln eq 'video' or $ln eq 'audio')) { |
337 |
return $el->has_attribute_ns (undef, 'controls'); |
return $el->has_attribute_ns (undef, 'controls'); |
338 |
} elsif ($nsuri eq $HTML_NS and $ln eq 'menu') { |
} elsif ($nsuri eq $HTML_NS and $ln eq 'menu') { |