HTMLDirectoryElement should be 'dir'. Fix #1159
auto merge of #1160 : saneyuki/servo/dir, r=jdm

@Ms2ger?