Merge "Update html5 specs link in comment"
authorSPQRobin <robinp.1273@gmail.com>
Sat, 10 May 2014 22:00:49 +0000 (22:00 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sat, 10 May 2014 22:00:49 +0000 (22:00 +0000)
includes/htmlform/HTMLHiddenField.php

index 003ccfe..6ea95ed 100644 (file)
@@ -5,7 +5,7 @@ class HTMLHiddenField extends HTMLFormField {
                parent::__construct( $params );
 
                # Per HTML5 spec, hidden fields cannot be 'required'
-               # http://dev.w3.org/html5/spec/states-of-the-type-attribute.html#hidden-state
+               # http://www.w3.org/TR/html5/forms.html#hidden-state-%28type=hidden%29
                unset( $this->mParams['required'] );
        }