mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Use DOMString instead of ~str in a few places.
This commit is contained in:
parent
68f534c45a
commit
ecc07e3b49
4 changed files with 18 additions and 16 deletions
|
@ -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>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue