mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Rename VirtualMethods::attribute_is_mapped
This name doesn't convey what the method is about, it's now attribute_affects_presentational_hints.
This commit is contained in:
parent
85167c8b7d
commit
558f5772a6
4 changed files with 7 additions and 7 deletions
|
@ -72,9 +72,9 @@ pub trait VirtualMethods {
|
|||
|
||||
/// Returns `true` if given attribute `attr` affects style of the
|
||||
/// given element.
|
||||
fn attribute_is_mapped(&self, attr: &Attr) -> bool {
|
||||
fn attribute_affects_presentational_hints(&self, attr: &Attr) -> bool {
|
||||
match self.super_type() {
|
||||
Some(s) => s.attribute_is_mapped(attr),
|
||||
Some(s) => s.attribute_affects_presentational_hints(attr),
|
||||
None => false
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue