Use DOMString instead of ~str in a few places.

This commit is contained in:
Ms2ger 2014-02-16 10:22:47 +01:00
parent 68f534c45a
commit ecc07e3b49
4 changed files with 18 additions and 16 deletions

View file

@ -31,7 +31,7 @@ use std::unstable::raw::Box;
pub struct Element {
node: Node,
tag_name: ~str, // TODO: This should be an atom, not a ~str.
tag_name: DOMString, // TODO: This should be an atom, not a DOMString.
namespace: Namespace,
attrs: ~[@mut Attr],
style_attribute: Option<style::PropertyDeclarationBlock>,