mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 07:45:30 +00:00
Bug 1272970
- fix test_transitions_per_property failure; r=mstange
MozReview-Commit-ID: 9y9gT0dagDv --HG-- extra : rebase_source : a01d99716b26e072b2ae74e3602772764810991c
This commit is contained in:
parent
03fcd422c5
commit
ffcae1dc76
@ -3529,6 +3529,7 @@ struct MOZ_NEEDS_MEMMOVABLE_MEMBERS nsStyleSVGReset
|
||||
return nsChangeHint_UpdateEffects |
|
||||
nsChangeHint_UpdateOverflow |
|
||||
nsChangeHint_NeutralChange |
|
||||
nsChangeHint_UpdateBackgroundPosition |
|
||||
NS_STYLE_HINT_REFLOW;
|
||||
}
|
||||
static nsChangeHint DifferenceAlwaysHandledForDescendants() {
|
||||
|
@ -2133,8 +2133,10 @@ function test_background_size_transition(prop) {
|
||||
}
|
||||
|
||||
function test_background_position_transition(prop) {
|
||||
var doesPropTakeListValues = (prop == "background-position");
|
||||
var doesPropHaveDistanceComputation = (prop != "background-position");
|
||||
var doesPropTakeListValues = (prop == "background-position") ||
|
||||
(prop == "mask-position");
|
||||
var doesPropHaveDistanceComputation = (prop != "background-position") &&
|
||||
(prop != "mask-position");
|
||||
|
||||
// Test interpolation between edge keywords, and between edge keyword and a
|
||||
// percent value. (Note: edge keywords are really aliases for percent vals.)
|
||||
|
Loading…
Reference in New Issue
Block a user