mirror of
https://github.com/servo/servo.git
synced 2025-08-13 17:35:36 +01:00
Parse -moz-alt-content as a whole content value (fixes #15726)
This commit is contained in:
parent
8cd4330b2a
commit
499e81410f
4 changed files with 37 additions and 31 deletions
|
@ -1820,9 +1820,8 @@ impl ComputedValues {
|
|||
pub fn ineffective_content_property(&self) -> bool {
|
||||
use properties::longhands::content::computed_value::T;
|
||||
match self.get_counters().content {
|
||||
T::normal |
|
||||
T::none => true,
|
||||
T::Content(ref items) => items.is_empty(),
|
||||
T::Normal | T::None => true,
|
||||
T::Items(ref items) => items.is_empty(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue