Update web-platform-tests to revision 9919d0f04266001686c09d47ff6e25c98b48d91f

This commit is contained in:
WPT Sync Bot 2019-07-12 10:24:58 +00:00
parent 026e550d35
commit e7fcc8e274
453 changed files with 7751 additions and 2288 deletions

View file

@ -35,22 +35,16 @@ const valid_values = [
[ "200.25", "200.25px" ],
[ "200.7", "200.7px" ],
[ "200.", "200px" ],
[ "+200", "200px" ],
[ "200in", "200px" ],
[ "200.25in", "200.25px" ],
[ " +200in ", "200px" ],
[ " +200.25in ", "200.25px" ],
[ "200 %", "200px" ],
[ "200 abc", "200px" ],
[ "200%", "200%" ],
[ "200%abc", "200%" ],
[ "+200%", "200%" ],
[ "200.25%", "200.25%" ],
// https://github.com/whatwg/html/issues/4736 tracks the fact that "200.%"
// should probably be mapped as "200%", not "200px".
[ "200.%", "200px" ],
[ " +200.25% ", "200.25%" ],
[ " +200.25%abc", "200.25%" ],
[ "200.%", "200%" ],
[ "20.25e2", "20.25px" ],
[ "20.25E2", "20.25px" ],
];
/*
@ -58,9 +52,7 @@ const valid_values = [
*/
const zero_values = [
[ "0", "0px" ],
[ "+0", "0px" ],
[ "0%", "0%" ],
[ "+0%", "0%" ],
[ "0px", "0px" ],
];
@ -76,7 +68,20 @@ const invalid_values = [
" -200",
"+-200",
"-+200",
"-200%"
"-200%",
"+200",
" +200in ",
" +200.25in ",
"+200%",
" +200.25% ",
" +200.25%abc",
"+0",
"+0%",
".",
".%",
".x",
".5",
".5%"
];
const valid_values_with_0 =