Update web-platform-tests to revision add24188a1226f3598ad6b455e71641c9ac6a5fd

This commit is contained in:
WPT Sync Bot 2019-03-29 21:43:03 -04:00
parent 4cf39a696d
commit 6ed2abf735
80 changed files with 2127 additions and 133 deletions

View file

@ -136,6 +136,15 @@ test(function(){
element.style = '';
}, 'Lists with relative units are absolutized when substituting');
test(function(){
let length = generate_property('none | <length>');
let universal = generate_property('*');
element.style = `font-size: 10px; ${length}: 10em; ${universal}: var(${length})`;
let computedStyle = getComputedStyle(element);
assert_equals(computedStyle.getPropertyValue(universal), ' 100px');
element.style = '';
}, 'Values are absolutized when substituting into properties with universal syntax');
function test_valid_fallback(syntax, value, fallback) {
test(function(){
let name = generate_property(syntax);