Bugzilla – Bug 487
add more obsolete elements to assertions checking and to legacy.rnc (and to driver files)
Last modified: 2009-06-26 08:07:05 CEST
The assertions.sch and Assertions.java code is currently only reporting the following elements as obsolete:
big, center, font, s, strike, tt, u, acroynm, dir, applet
But the following elements are also obsoleted by the HTML5 draft:
frame, frameset, noframes, basefont, isindex
Some relevant data:
... data on that page seems to indicate that <basefont> is used in more pages than <acronym>, <s> and <strike> are -- and in around the same order of magnitude as many pages as <tt> is. So it seems like we should be reporting <basefont>, if we are already reporting those.
But it definitely does not seem worth it to report <basefont>
"ISINDEX element was only found in 63 URLs" (out of 3,000,000+)
Created attachment 84 [details]
patch with proposed changes
Looks good. (Note that the isindex element will only end up in the infoset with the XML parser.)
BTW, the reason I didn't include basefont originally was that basefont is a void element.
For clarity, comment #3 counts as r=hsivonen