mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
style: Remove the display: -moz-box overrides display: -webkit-box hack.
display: -moz-box is no longer exposed to content so this is not necessary. See bug 1407701 for context. Differential Revision: https://phabricator.services.mozilla.com/D12961
This commit is contained in:
parent
2e388e860d
commit
8bed8ae122
2 changed files with 0 additions and 40 deletions
|
@ -462,22 +462,6 @@ impl PropertyDeclarationBlock {
|
|||
return false;
|
||||
}
|
||||
|
||||
// As a compatibility hack, specially on Android,
|
||||
// don't allow to override a prefixed webkit display
|
||||
// value with an unprefixed version from parsing
|
||||
// code.
|
||||
//
|
||||
// TODO(emilio): Unship.
|
||||
if let PropertyDeclaration::Display(old_display) = *slot {
|
||||
use crate::properties::longhands::display::computed_value::T as display;
|
||||
|
||||
if let PropertyDeclaration::Display(new_display) = declaration {
|
||||
if display::should_ignore_parsed_value(old_display, new_display) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
index_to_remove = Some(i);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue