Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PhilippeVay/be96411e84af7f13d7cbef4ad78f2ad8 to your computer and use it in GitHub Desktop.
Save PhilippeVay/be96411e84af7f13d7cbef4ad78f2ad8 to your computer and use it in GitHub Desktop.
List of obsolete elements and attributes from ffoodd/a11y.css for stylelint tests
/* stylelint-disable selector-no-qualifying-type */
applet,
acronym,
bgsound,
dir,
frame,
frameset,
noframes,
hgroup,
isindex,
listing,
nextid,
noembed,
plaintext,
rb,
rtc,
strike,
xmp,
basefont,
big,
blink,
center,
font,
marquee,
multicol,
nobr,
spacer,
tt,
keygen,
menu,
menuitem {
display: block;
}
[dropzone],
a[charset],
link[charset],
a[coords],
a[shape],
a[methods],
link[methods],
a[name],
option[name],
embed[name],
img[name],
a[rev],
link[rev],
a[urn],
link[urn],
form[accept],
head[profile],
html[version],
link[target],
param[type],
param[valuetype],
script[language],
script[event],
script[for],
table[datapagesize],
table[summary],
td[axis],
th[axis],
td[scope],
td[abbr],
a[datasrc],
applet[datasrc],
button[datasrc],
div[datasrc],
frame[datasrc],
label[datasrc],
legend[datasrc],
marquee[datasrc],
option[datasrc],
span[datasrc],
table[datasrc],
a[datafld],
applet[datafld],
button[datafld],
div[datafld],
fieldset[datafld],
frame[datafld],
label[datafld],
legend[datafld],
marquee[datafld],
param[datafld],
span[datafld],
button[dataformatas],
div[dataformatas],
label[dataformatas],
legend[dataformatas],
marquee[dataformatas],
option[dataformatas],
span[dataformatas],
table[dataformatas],
body[alink],
body[bgcolor],
table[bgcolor],
td[bgcolor],
th[bgcolor],
tr[bgcolor],
body[link],
body[marginbottom],
body[marginheight],
body[marginleft],
body[marginright],
body[margintop],
body[marginwidth],
body[text],
body[vlink],
col[char],
tbody[char],
thead[char],
tfoot[char],
td[char],
th[char],
tr[char],
col[charoff],
tbody[charoff],
thead[charoff],
tfoot[charoff],
td[charoff],
th[charoff],
tr[charoff],
col[valign],
tbody[valign],
thead[valign],
tfoot[valign],
td[valign],
th[valign],
tr[valign],
col[width],
pre[width],
table[width],
td[width],
th[width],
dl[compact],
ol[compact],
ul[compact],
h1[align],
h2[align],
h3[align],
h4[align],
h5[align],
h6[align],
caption[align],
col[align],
div[align],
legend[align],
p[align],
table[align],
tbody[align],
thead[align],
tfoot[align],
td[align],
th[align],
tr[align],
li[type],
ul[type],
table[cellpadding],
table[cellspacing],
table[frame],
table[rules],
td[height],
th[height],
td[nowrap],
th[nowrap],
body[background],
table[background],
thead[background],
tbody[background],
tfoot[background],
tr[background],
td[background],
th[background] {
display: block;
}
embed[name],
img[name],
area[nohref],
area[type],
area[hreflang],
input[ismap],
input[usemap],
iframe[longdesc],
img[longdesc],
img[lowsrc],
object[archive],
object[classid],
object[code],
object[codebase],
object[codetype],
object[declare],
object[standby],
iframe[datasrc],
img[datasrc],
input[datasrc],
object[datasrc],
select[datasrc],
textarea[datasrc],
iframe[datafld],
img[datafld],
input[datafld],
object[datafld],
select[datafld],
textarea[datafld],
input[dataformatas],
object[dataformatas],
select[dataformatas],
iframe[marginheight],
iframe[marginwidth],
br[clear],
hr[width],
embed[hspace],
iframe[hspace],
input[hspace],
img[hspace],
object[hspace],
embed[vspace],
iframe[vspace],
input[vspace],
img[vspace],
object[vspace],
hr[color],
hr[noshade],
hr[size],
iframe[align],
embed[align],
hr[align],
input[align],
img[align],
object[align],
iframe[allowtransparency],
iframe[frameborder],
iframe[framespacing],
iframe[scrolling],
img[border],
object[border],
input[inputmode] {
display: block;
}
/* stylelint-enable selector-no-qualifying-type */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment