Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Rename dirname attribute on form controls to dirName. #122

Merged
merged 1 commit into from

3 participants

@miketaylr

From the spec, "The dirName IDL attribute must reflect the dirname content attribute."

@miketaylr

So yeah, no more sleepy comments...

Anyways, +1 on this pull request. Opera Next has input.dirName but fails this test because of the case issue.

@NielsLeenheer NielsLeenheer merged commit 29994d4 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 5 additions and 4 deletions.
  1. +5 −4 index.html
View
9 index.html
@@ -3893,13 +3893,14 @@
value: 1
});
- var props = 'autocomplete autofocus placeholder multiple dirname'.split(' ');
+ var props = 'autocomplete autofocus placeholder multiple dirName'.split(' ');
for (var p in props) {
+ var prop = props[p].toLowerCase();
group.setItem({
- id: props[p],
- title: '<code>' + props[p] + '</code> attribute',
- url: 'http://www.w3.org/TR/html5/common-input-element-attributes.html#attr-input-' + props[p],
+ id: prop,
+ title: '<code>' + prop + '</code> attribute',
+ url: 'http://www.w3.org/TR/html5/common-input-element-attributes.html#attr-input-' + prop,
passed: !!(props[p] in element),
value: 1
});
Something went wrong with that request. Please try again.