r31436 - in /branches/upstream/libhtml-lint-perl/current: Changes MANIFEST META.yml lib/HTML/Lint.pm lib/HTML/Lint/HTML4.pm lib/Test/HTML/Lint.pm t/strong-id.t
antonio-guest at users.alioth.debian.org
antonio-guest at users.alioth.debian.org
Wed Mar 4 23:55:51 UTC 2009
Author: antonio-guest
Date: Wed Mar 4 23:55:48 2009
New Revision: 31436
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=31436
Log:
[svn-upgrade] Integrating new upstream version, libhtml-lint-perl (2.06)
Added:
branches/upstream/libhtml-lint-perl/current/t/strong-id.t
Modified:
branches/upstream/libhtml-lint-perl/current/Changes
branches/upstream/libhtml-lint-perl/current/MANIFEST
branches/upstream/libhtml-lint-perl/current/META.yml
branches/upstream/libhtml-lint-perl/current/lib/HTML/Lint.pm
branches/upstream/libhtml-lint-perl/current/lib/HTML/Lint/HTML4.pm
branches/upstream/libhtml-lint-perl/current/lib/Test/HTML/Lint.pm
Modified: branches/upstream/libhtml-lint-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-lint-perl/current/Changes?rev=31436&op=diff
==============================================================================
--- branches/upstream/libhtml-lint-perl/current/Changes (original)
+++ branches/upstream/libhtml-lint-perl/current/Changes Wed Mar 4 23:55:48 2009
@@ -3,6 +3,16 @@
NOTE: All bugs and requests are now being handled through the Google
Code issue tracker at http://code.google.com/p/html-lint/issues/list.
DO NOT send bug reports to http://rt.cpan.org/
+
+
+2.06 Thu Dec 18 00:07:54 CST 2008
+ [FIXES]
+ Added attributes to <frameset>.
+
+ <strong> tag didn't allow any attributes. Now it does.
+
+ Removed the <listing> tag.
+
2.04 Mon Jun 2 11:41:16 CDT 2008
[FIXES]
Modified: branches/upstream/libhtml-lint-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-lint-perl/current/MANIFEST?rev=31436&op=diff
==============================================================================
--- branches/upstream/libhtml-lint-perl/current/MANIFEST (original)
+++ branches/upstream/libhtml-lint-perl/current/MANIFEST Wed Mar 4 23:55:48 2009
@@ -33,6 +33,7 @@
t/pod.t
t/pod-coverage.t
t/random-nobr.t
+t/strong-id.t
t/text-use-entity.t
t/xhtml-html.t
META.yml Module meta-data (added by MakeMaker)
Modified: branches/upstream/libhtml-lint-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-lint-perl/current/META.yml?rev=31436&op=diff
==============================================================================
--- branches/upstream/libhtml-lint-perl/current/META.yml (original)
+++ branches/upstream/libhtml-lint-perl/current/META.yml Wed Mar 4 23:55:48 2009
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: HTML-Lint
-version: 2.04
+version: 2.06
abstract: check for HTML errors in a string or file
license: perl
author:
Modified: branches/upstream/libhtml-lint-perl/current/lib/HTML/Lint.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-lint-perl/current/lib/HTML/Lint.pm?rev=31436&op=diff
==============================================================================
--- branches/upstream/libhtml-lint-perl/current/lib/HTML/Lint.pm (original)
+++ branches/upstream/libhtml-lint-perl/current/lib/HTML/Lint.pm Wed Mar 4 23:55:48 2009
@@ -11,11 +11,11 @@
=head1 VERSION
-Version 2.04
-
-=cut
-
-our $VERSION = '2.04';
+Version 2.06
+
+=cut
+
+our $VERSION = '2.06';
=head1 SYNOPSIS
Modified: branches/upstream/libhtml-lint-perl/current/lib/HTML/Lint/HTML4.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-lint-perl/current/lib/HTML/Lint/HTML4.pm?rev=31436&op=diff
==============================================================================
--- branches/upstream/libhtml-lint-perl/current/lib/HTML/Lint/HTML4.pm (original)
+++ branches/upstream/libhtml-lint-perl/current/lib/HTML/Lint/HTML4.pm Wed Mar 4 23:55:48 2009
@@ -62,7 +62,7 @@
font => _hash( @core, @i18n, qw( color face size ) ),
form => _hash( @std, qw( accept-charset action enctype method name onreset onsubmit target ) ),
frame => _hash( @core, qw( frameborder longdesc marginheight marginwidth name noresize scrolling src ) ),
- frameset => _hash( @core, qw( cols onload onunload rows ) ),
+ frameset => _hash( @core, qw( cols onload onunload rows border bordercolor frameborder framespacing ) ),
h1 => _hash( @std, qw( align ) ),
h2 => _hash( @std, qw( align ) ),
h3 => _hash( @std, qw( align ) ),
@@ -81,7 +81,6 @@
legend => _hash( @std, qw( accesskey align ) ),
li => _hash( @std, qw( type value ) ),
'link' => _hash( @std, qw( charset href hreflang media rel rev target type ) ),
- listing => _hash(),
'map' => _hash( @std, qw( name ) ),
menu => _hash( @std, qw( compact ) ),
meta => _hash( @i18n, qw( content http-equiv name scheme ) ),
@@ -100,7 +99,6 @@
script => _hash( qw( charset defer event for language src type ) ),
'select' => _hash( @std, qw( disabled multiple name onblur onchange onfocus size tabindex ) ),
span => _hash( @std ),
- strong => _hash(),
style => _hash( @i18n, qw( media title type ) ),
table => _hash( @std,
qw( align bgcolor border cellpadding cellspacing datapagesize frame rules summary width ),
Modified: branches/upstream/libhtml-lint-perl/current/lib/Test/HTML/Lint.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-lint-perl/current/lib/Test/HTML/Lint.pm?rev=31436&op=diff
==============================================================================
--- branches/upstream/libhtml-lint-perl/current/lib/Test/HTML/Lint.pm (original)
+++ branches/upstream/libhtml-lint-perl/current/lib/Test/HTML/Lint.pm Wed Mar 4 23:55:48 2009
@@ -6,7 +6,7 @@
use Test::Builder;
use Exporter;
-use HTML::Lint 2.04;
+use HTML::Lint 2.06;
use vars qw( @ISA $VERSION @EXPORT );
@@ -18,11 +18,11 @@
=head1 VERSION
-Version 2.04
+Version 2.06
=cut
-$VERSION = '2.04';
+$VERSION = '2.06';
my $Tester = Test::Builder->new;
Added: branches/upstream/libhtml-lint-perl/current/t/strong-id.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhtml-lint-perl/current/t/strong-id.t?rev=31436&op=file
==============================================================================
--- branches/upstream/libhtml-lint-perl/current/t/strong-id.t (added)
+++ branches/upstream/libhtml-lint-perl/current/t/strong-id.t Wed Mar 4 23:55:48 2009
@@ -1,0 +1,41 @@
+use warnings;
+use strict;
+require 't/LintTest.pl';
+
+checkit( [
+ [ 'attr-unknown' => qr/Unknown attribute "bongo" for tag <strong>/ ],
+], [<DATA>] );
+
+=pod
+
+ HTML::Lint 2.02 and weblint, Red Hat EL 3
+
+ This should result in no warnings:
+
+ echo '<html><head><title>qwer</title></head><body><strong
+ id="asdf">asdf</strong></body></html>' | weblint -
+ - (1:45) Unknown attribute "id" for tag <strong>
+
+ but it gives:
+
+ - (1:45) Unknown attribute "id" for tag <strong>
+
+ id is a core attribute in HTML4/XHTML1: http://www.w3.org/TR/html4/html40.txt
+
+=cut
+
+__DATA__
+<HTML>
+ <HEAD>
+ <TITLE>Test stuff</TITLE>
+ </HEAD>
+ <BODY BGCOLOR="white">
+ <p>
+ A test for <a href="http://code.google.com/p/html-lint/issues/detail?id=2">this bug</a>.
+ </p>
+ <p>
+ <strong bongo="This">Bad</strong>
+ <strong id="This">Bad</strong>
+ </p>
+ </BODY>
+</HTML>
More information about the Pkg-perl-cvs-commits
mailing list