aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/node.rs
diff options
context:
space:
mode:
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 85a4429e767..cdd7cabf8e7 100644
--- a/components/style/node.rs
+++ b/components/style/node.rs
@@ -30,5 +30,6 @@ pub trait TElement {
fn get_id(&self) -> Option<Atom>;
fn get_disabled_state(&self) -> bool;
fn get_enabled_state(&self) -> bool;
+ fn has_class(&self, name: &str) -> bool;
}