Update web-platform-tests to revision 89aa3f42131cce5a77268ddaeb2fab8a2e29c2a6

This commit is contained in:
WPT Sync Bot 2019-11-17 10:33:25 +00:00
parent 39963266ae
commit ea00d34098
392 changed files with 5974 additions and 7614 deletions

View file

@ -410,15 +410,6 @@ const gCSSProperties = {
{ type: 'discrete', options: [ [ 'auto', '1px' ] ] }
]
},
'content': {
// https://drafts.csswg.org/css-content-3/#propdef-content
types: [
{ type: 'discrete', options: [ [ '"a"', '"b"' ] ] }
],
setup: t => {
return getPseudoElement(t, 'before');
}
},
'counter-increment': {
// https://drafts.csswg.org/css-lists-3/#propdef-counter-increment
types: [
@ -1432,13 +1423,11 @@ const gCSSProperties = {
};
function testAnimationSamples(animation, idlName, testSamples) {
const type = animation.effect.target.type;
const target = animation.effect.target.constructor.name === 'CSSPseudoElement'
? animation.effect.target.element
: animation.effect.target;
const pseudoType = animation.effect.pseudoElement;
const target = animation.effect.target;
for (const testSample of testSamples) {
animation.currentTime = testSample.time;
assert_equals(getComputedStyle(target, type)[idlName],
assert_equals(getComputedStyle(target, pseudoType)[idlName],
testSample.expected,
`The value should be ${testSample.expected}` +
` at ${testSample.time}ms`);
@ -1453,10 +1442,8 @@ function toOrderedArray(string) {
// don't specify an order for serializing computed values.
// This test is for such the property.
function testAnimationSamplesWithAnyOrder(animation, idlName, testSamples) {
const type = animation.effect.target.type;
const target = animation.effect.target.constructor.name === 'CSSPseudoElement'
? animation.effect.target.element
: animation.effect.target;
const type = animation.effect.pseudoElement;
const target = animation.effect.target;
for (const testSample of testSamples) {
animation.currentTime = testSample.time;