mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision f0cb9071aea5ce5b641fcba5f362a0796bdc70bc
This commit is contained in:
parent
0d549e8146
commit
7289e837fd
558 changed files with 8627 additions and 6619 deletions
|
@ -260,8 +260,9 @@
|
|||
return expectations.map(function(expectation) {
|
||||
var actualTargetContainer = createTargetContainer(testContainer, 'actual');
|
||||
var expectedTargetContainer = createTargetContainer(testContainer, 'expected');
|
||||
if (!isNeutralKeyframe(expectation.expect)) {
|
||||
expectedTargetContainer.target.style.setProperty(property, expectation.expect);
|
||||
var expectedStr = expectation.option || expectation.expect;
|
||||
if (!isNeutralKeyframe(expectedStr)) {
|
||||
expectedTargetContainer.target.style.setProperty(property, expectedStr);
|
||||
}
|
||||
var target = actualTargetContainer.target;
|
||||
interpolationMethod.setup(property, from, target);
|
||||
|
@ -284,7 +285,7 @@
|
|||
comparisonFunction(
|
||||
getComputedStyle(target).getPropertyValue(property),
|
||||
expectedValue);
|
||||
}, `${testText} at (${expectation.at}) should be [${sanitizeUrls(expectation.expect)}]`);
|
||||
}, `${testText} at (${expectation.at}) should be [${sanitizeUrls(expectedStr)}]`);
|
||||
};
|
||||
return target;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue