diff options
Diffstat (limited to 'components/style/node.rs')
-rw-r--r-- | components/style/node.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/style/node.rs b/components/style/node.rs index 8a8930fdc81..8fc74d5738c 100644 --- a/components/style/node.rs +++ b/components/style/node.rs @@ -38,4 +38,5 @@ pub trait TElement<'a> : Copy { fn get_disabled_state(self) -> bool; fn get_enabled_state(self) -> bool; fn has_class(self, name: &str) -> bool; + fn each_class(self, callback: |&Atom|); } |