2.1.144 [HTML5:2014] Section 10.3.1 Hidden elements
V0318: The area, base, basefont, link, param, rp, source, template, and track elements do not set a default style of display: none
The specification states:
-
10.3.1 Hidden elements ... [hidden], area, base, basefont, datalist, head, link, ... meta, noembed, noframes, param, rp, script, source, style, template, track, title { display: none; }
All document modes (All versions)
The area
, base
, basefont
, link
, param
, rp
, source
, template
, and track
elements do not set a default style of display: none
.
V0319: The default style of the noframes element is set to display: block, not display: none
The specification states:
-
10.3.1 Hidden elements ... [hidden], area, base, basefont, datalist, head, link, ... meta, noembed, noframes, param, rp, script, source, style, template, track, title { display: none; }
All document modes (All versions)
The default style of the noframes
element is set to display: block
, not display: none
.
V0320: The embed element when hidden does not set the default styles
The specification states:
-
10.3.1 Hidden elements ... embed[hidden] { display: inline; height: 0; width: 0; }
All document modes (All versions)
The embed
element when hidden
does not set the default styles. (It only hides the element.)