mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Fix merge fallout which was disabling all CSS classes.
This commit is contained in:
parent
aee2611498
commit
e1b9e01e69
1 changed files with 0 additions and 10 deletions
|
@ -24,16 +24,6 @@ fn with_node_name<R>(node: AbstractNode<LayoutView>, f: &fn(&str) -> R) -> R {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SelectHandler<AbstractNode<LayoutView>> for NodeSelectHandler {
|
impl SelectHandler<AbstractNode<LayoutView>> for NodeSelectHandler {
|
||||||
// FIXME(tkuehn): placeholder to get servo to compile
|
|
||||||
fn node_has_class(&self, node: &AbstractNode<LayoutView>, s: &str) -> bool {
|
|
||||||
true
|
|
||||||
}
|
|
||||||
|
|
||||||
// FIXME(tkuehn): placeholder to get servo to compile
|
|
||||||
fn with_node_classes<R>(&self, node: &AbstractNode<LayoutView>, f: &fn(Option<&str>) -> R) -> R {
|
|
||||||
f(None)
|
|
||||||
}
|
|
||||||
|
|
||||||
fn with_node_name<R>(&self, node: &AbstractNode<LayoutView>, f: &fn(&str) -> R) -> R {
|
fn with_node_name<R>(&self, node: &AbstractNode<LayoutView>, f: &fn(&str) -> R) -> R {
|
||||||
with_node_name(*node, f)
|
with_node_name(*node, f)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue