Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: 2.10
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (18 sloc) 0.598 kB
use warnings;
use strict;
require 't/LintTest.pl';
checkit( [
[ 'elem-img-sizes-missing' => qr/\Q<IMG SRC="swedish-schwern.jpg"> tag has no HEIGHT and WIDTH attributes./i ],
[ 'elem-img-sizes-missing' => qr/\Q<IMG SRC="bongo-bongo.jpg"> tag has no HEIGHT and WIDTH attributes./i ],
], [<DATA>] );
__DATA__
<HTML>
<HEAD>
<TITLE>Test stuff</TITLE>
</HEAD>
<BODY BGCOLOR="white">
<P ALIGN=RIGHT>This is my paragraph</P>
<IMG BORDER=3 HSPACE=12 SRC="swedish-schwern.jpg" ALT="Bork! Bork! Bork!" />
<IMG BORDER="3" HSPACE="12" SRC="bongo-bongo.jpg" ALT="">
</BODY>
</HTML>
Jump to Line
Something went wrong with that request. Please try again.