--- - branch: MAIN date: Thu May 14 09:13:13 UTC 2015 files: - new: '1.12' old: '1.11' path: pkgsrc/www/p5-HTML-Lint/Makefile pathrev: pkgsrc/www/p5-HTML-Lint/Makefile@1.12 type: modified - new: '1.5' old: '1.4' path: pkgsrc/www/p5-HTML-Lint/distinfo pathrev: pkgsrc/www/p5-HTML-Lint/distinfo@1.5 type: modified id: 20150514T091313Z.fc6ee6133b316caece364aef2c6825b597aa1288 log: | (pkgsrc note) - Nothing changed, but just a note. 'make test' fails at t/12-html_fragment_ok.t. It is because the randomness of error output, saying either <html> is missing (if neither of them exists). (To see, try 'make test' several times). (upstream) - update 2.20 to 2.22 ------------------- 2.22 Mon Apr 6 15:47:11 CDT 2015 [CHANGES THAT COULD BREAK YOUR CODE] Previously, html_ok() would not check the entire structure of a web page to check for <html>, <head>, <title> and <body> tags. Now it will. If you want to check fragments of HTML for validity but know that they are not valid HTML documents on their own, use the new html_fragment_ok(). [ENHANCEMENTS] Added new error, elem-input-alt-missing, that warns of <input type="image"> tags that are missing an alt="" attribute. This helps for accessability to make sure that any images have alternate text for screen readers. Added ability to modify HTML::Lint's table of known tags and attributes, so you could do this: # Add an attribute that your company uses. HTML::Lint::HTML4::add_attribute( 'body', 'proprietary-attribute' ); # Add the HTML 5 <canvas> tag. HTML::Lint::HTML4::add_tag( 'canvas' ); HTML::Lint::HTML4::add_attribute( 'canvas', $_ ) for qw( height width ); [FIXES] Test::HTML::Lint::html_ok() would not call the HTML::Lint eof() method, which meant it wouldn't do document-wide tests. module: pkgsrc subject: 'CVS commit: pkgsrc/www/p5-HTML-Lint' unixtime: '1431594793' user: mef