mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Fix Servo build.
This commit is contained in:
parent
164bfbcb40
commit
2a5007926d
9 changed files with 26 additions and 17 deletions
|
@ -2643,10 +2643,10 @@ impl ComputedValuesInner {
|
|||
/// ineffective, and would yield an empty `::before` or `::after`
|
||||
/// pseudo-element.
|
||||
pub fn ineffective_content_property(&self) -> bool {
|
||||
use properties::longhands::content::computed_value::T;
|
||||
use values::generics::counters::Content;
|
||||
match self.get_counters().content {
|
||||
T::Normal | T::None => true,
|
||||
T::Items(ref items) => items.is_empty(),
|
||||
Content::Normal | Content::None => true,
|
||||
Content::Items(ref items) => items.is_empty(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue