W3C home > Mailing lists > Public > www-validator-cvs@w3.org > March 2011

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

From: Mercurial notifier <nobody@w3.org>
Date: Wed, 09 Mar 2011 22:09:56 +0000
Message-Id: <E1PxRZs-0004XP-C8@mcbain.w3.org>
To: link-checker updates <www-validator-cvs@w3.org>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:45 UTC