aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/node.rs
diff options
context:
space:
mode:
authorTim Taubert <tim@timtaubert.de>2014-10-06 16:02:19 +0200
committerTim Taubert <tim@timtaubert.de>2014-10-08 11:01:31 +0200
commitb9e23563bb9940ece621d3f6a969a5e08e1bd82b (patch)
tree981ee905456f2cb51975f6955ae75344569ec8fc /components/style/node.rs
parent070b6046aa9a7869e2ca53f69d7a349afbec09c4 (diff)
downloadservo-b9e23563bb9940ece621d3f6a969a5e08e1bd82b.tar.gz
servo-b9e23563bb9940ece621d3f6a969a5e08e1bd82b.zip
Support [*|attr], attribute selectors in any namespace (fixes #1558)
Diffstat (limited to 'components/style/node.rs')
-rw-r--r--components/style/node.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/style/node.rs b/components/style/node.rs
index 75d098563c2..450e6655e35 100644
--- a/components/style/node.rs
+++ b/components/style/node.rs
@@ -23,6 +23,7 @@ pub trait TNode<'a, E: TElement<'a>> : Clone + Copy {
pub trait TElement<'a> : Copy {
fn get_attr(self, namespace: &Namespace, attr: &str) -> Option<&'a str>;
+ fn get_attrs(self, attr: &str) -> Vec<&'a str>;
fn get_link(self) -> Option<&'a str>;
fn get_local_name(self) -> &'a Atom;
fn get_namespace(self) -> &'a Namespace;