347 |
}; # $IsInHTMLInteractiveContent |
}; # $IsInHTMLInteractiveContent |
348 |
|
|
349 |
my $HTMLTransparentElements = { |
my $HTMLTransparentElements = { |
350 |
$HTML_NS => {qw/ins 1 del 1 font 1 noscript 1 canvas 1 a 1/}, |
$HTML_NS => { |
351 |
## NOTE: |html:noscript| is transparent if scripting is disabled |
ins => 1, del => 1, |
352 |
## and not in |head|. |
font => 1, ## dropped from the spec |
353 |
}; |
noscript => 1, |
354 |
|
## NOTE: |html:noscript| is transparent if scripting is disabled |
355 |
|
## and not in |head|. |
356 |
|
canvas => 1, |
357 |
|
a => 1, |
358 |
|
map => 1, |
359 |
|
}, |
360 |
|
}; # $HTMLTransparentElements |
361 |
|
|
362 |
|
## NOTE: Now that the term "semi-transparent content model" is dropped |
363 |
|
## from the spec, but the concept is not. |
364 |
my $HTMLSemiTransparentElements = { |
my $HTMLSemiTransparentElements = { |
365 |
$HTML_NS => {object => 1, video => 1, audio => 1}, |
$HTML_NS => {object => 1, video => 1, audio => 1}, |
366 |
}; |
}; # $HTMLSemiTransparentElements |
367 |
|
|
368 |
our $Element = {}; |
our $Element = {}; |
369 |
|
|