aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/node.rs
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2015-11-15 11:24:03 +0100
committerMs2ger <Ms2ger@gmail.com>2015-11-15 11:24:03 +0100
commit9c1d678b1b82098c949123f7f8f8e0b9ab729127 (patch)
tree92adad54c61c6528388322690e91a7acf3481224 /components/style/node.rs
parent5417df63971494c55d6d0bf4a6988c11f6e6e482 (diff)
downloadservo-9c1d678b1b82098c949123f7f8f8e0b9ab729127.tar.gz
servo-9c1d678b1b82098c949123f7f8f8e0b9ab729127.zip
Remove get_unsigned_integer_attribute.
Diffstat (limited to 'components/style/node.rs')
-rw-r--r--components/style/node.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/components/style/node.rs b/components/style/node.rs
index aa764f5f662..302ad48fd80 100644
--- a/components/style/node.rs
+++ b/components/style/node.rs
@@ -5,7 +5,6 @@
//! Traits that nodes must implement. Breaks the otherwise-cyclic dependency between layout and
//! style.
-use legacy::UnsignedIntegerAttribute;
use properties::PropertyDeclaration;
use selectors::matching::DeclarationBlock;
use smallvec::VecLike;
@@ -14,7 +13,6 @@ use string_cache::{Atom, Namespace};
pub trait TElementAttributes {
fn synthesize_presentational_hints_for_legacy_attributes<V>(&self, &mut V)
where V: VecLike<DeclarationBlock<Vec<PropertyDeclaration>>>;
- fn get_unsigned_integer_attribute(&self, attribute: UnsignedIntegerAttribute) -> Option<u32>;
fn get_attr<'a>(&'a self, namespace: &Namespace, attr: &Atom) -> Option<&'a str>;
fn get_attrs<'a>(&'a self, attr: &Atom) -> Vec<&'a str>;