aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/html/hubbub_html_parser.rs
diff options
context:
space:
mode:
authorTetsuharu OHZEKI <saneyuki.snyk@gmail.com>2013-10-31 22:46:26 +0900
committerTetsuharu OHZEKI <saneyuki.snyk@gmail.com>2013-10-31 22:55:08 +0900
commit98c77a86c486e6f40ed53a3782d16ceecd32140b (patch)
tree6e67a4b05ebf360c8f9ccaa72748acd5d9f5776c /src/components/script/html/hubbub_html_parser.rs
parent6225347462d17608bd55f7bbae34165eaa797437 (diff)
downloadservo-98c77a86c486e6f40ed53a3782d16ceecd32140b.tar.gz
servo-98c77a86c486e6f40ed53a3782d16ceecd32140b.zip
HTMLDirectoryElement should be 'dir'. Fix #1159
Diffstat (limited to 'src/components/script/html/hubbub_html_parser.rs')
-rw-r--r--src/components/script/html/hubbub_html_parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/html/hubbub_html_parser.rs b/src/components/script/html/hubbub_html_parser.rs
index 4ed1981b8ed..d6883cb8acc 100644
--- a/src/components/script/html/hubbub_html_parser.rs
+++ b/src/components/script/html/hubbub_html_parser.rs
@@ -231,7 +231,7 @@ pub fn build_element_from_tag(cx: *JSContext, tag: &str, document: AbstractDocum
handle_element!(cx, document, tag, "canvas", HTMLCanvasElementTypeId, HTMLCanvasElement, []);
handle_element!(cx, document, tag, "data", HTMLDataElementTypeId, HTMLDataElement, []);
handle_element!(cx, document, tag, "datalist",HTMLDataListElementTypeId, HTMLDataListElement, []);
- handle_element!(cx, document, tag, "directory",HTMLDirectoryElementTypeId, HTMLDirectoryElement, []);
+ handle_element!(cx, document, tag, "dir", HTMLDirectoryElementTypeId, HTMLDirectoryElement, []);
handle_element!(cx, document, tag, "div", HTMLDivElementTypeId, HTMLDivElement, []);
handle_element!(cx, document, tag, "dl", HTMLDListElementTypeId, HTMLDListElement, []);
handle_element!(cx, document, tag, "embed", HTMLEmbedElementTypeId, HTMLEmbedElement, []);