Update web-platform-tests to revision b'0339b7e9ebef65f3288f07167a17c123a782c66f'

This commit is contained in:
WPT Sync Bot 2021-03-09 08:20:22 +00:00
parent 550d80ad4f
commit 6c98c32c8a
92 changed files with 1650 additions and 2114 deletions

View file

@ -90,15 +90,6 @@ var values = {
keyword: ['visible', 'hidden', {discrete: true}]
};
},
'auto': function(property) {
var types = properties[property] || unspecified_properties[property];
var val = values[types[0]](property);
var key = Object.keys(val).shift();
return {
to: [val[key][1], 'auto'],
from: ['auto', val[key][1]]
};
},
// types reqired for non-specified properties
'border-radius': function() {
return {
@ -228,26 +219,6 @@ var properties = {
'z-index': ['integer']
};
/*
* Property to auto-value mapping
* (lazily taken from http://www.siliconbaytraining.com/pages/csspv.html)
*/
var properties_auto = [
'margin-top',
'margin-right',
'margin-bottom',
'margin-left',
'height',
'width',
'clip',
'marker-offset',
'top',
'right',
'left',
'bottom',
'z-index'
];
/*
* Property to Type table
* (missing value-types of specified properties)
@ -405,16 +376,6 @@ root.getFontSizeRelativePropertyTests = function() {
return assemble(accepted);
};
root.getAutoPropertyTests = function() {
var accepted = {};
for (var i = 0, key; key = properties_auto[i]; i++) {
accepted[key] = ['auto'];
}
return assemble(accepted);
};
root.filterPropertyTests = function(tests, names) {
var allowed = {};
var accepted = [];