link-checker commit: Check some additional HTML5 link attributes.

changeset:   380:bf949a5660a8
tag:         tip
user:        Ville Skyttä <ville.skytta@iki.fi>
date:        Thu Mar 10 00:09:35 2011 +0200
files:       bin/checklink
description:
Check some additional HTML5 link attributes.

command icon, html manifest, track src, and video poster are known to us now.


diff -r 620e6c7f57b3 -r bf949a5660a8 bin/checklink
--- a/bin/checklink	Sun Jan 02 23:16:41 2011 +0200
+++ b/bin/checklink	Thu Mar 10 00:09:35 2011 +0200
@@ -242,6 +242,7 @@
     audio      => ['src'],
     blockquote => ['cite'],
     body       => ['background'],
+    command    => ['icon'],
 
     # button/@formaction not checked (side effects)
     del => ['cite'],
@@ -252,6 +253,7 @@
     # form/@action not checked (side effects)
     frame  => ['longdesc', 'src'],
     iframe => ['longdesc', 'src'],
+    html   => ['manifest'],
     img    => ['longdesc', 'src'],
     ins    => ['cite'],
 
@@ -262,7 +264,8 @@
     q      => ['cite'],
     script => ['src'],
     source => ['src'],
-    video  => ['src'],
+    track  => ['src'],
+    video  => ['src', 'poster'],
 };
 
 # Tag=>attribute mapping of things we treat as space separated lists of links.

Received on Wednesday, 9 March 2011 22:09:58 UTC